﻿using System;
using Common;

namespace TeamIce
{
	public struct IceConst
    {
        //Максимальная скорость удара, при которой считаем, что мяч полетит без отклонений
        public static readonly float MaxAccuracyVel = 3f;
        //Максимальный уровень безопасности паса. 0 - пас перехватят, MaxSafeLevel - не перехватят
        public static readonly int MaxSafeLevel = 10;
        //Максимальная погрешность при сравнении дробных величин
        public static readonly double EPS = 0.0001;
        //С какой скоростью в среднем ходят игроки
        public static readonly float AveragePlayerSpeed = 2.5f;
        //На сколько в среднем замедляется мяч
        public static readonly float AverageBallSlowdown = 0.7f;
        //Максимальное расстояние до ворот, с которого мы можем бить
        public static readonly float MaxShootDistance = 700f;
        //Как далеко может выбегать вратарь
        public static readonly float MaxKeeperWalkDistance = 200f;
        //Как далеко могут выбегать защитники
        public static readonly float MaxDefendersWalkDistance = Field.Borders.Width/4f;
        //Если внутри круга вокруг вратаря с данным радиусом будут соперники вратарь отдаст пас или выбьет мяч
        public static readonly float KeeperSafeRadius = Constants.PlayerMaxTackleDistance*3;
        //Вертикальная линия за которой начинаем крыть соперников при их владении мячом
        public static readonly float DefenceLine = Field.Borders.Width - 50 /* / 2f*/;
        //Весовой коэффициент позиции в оценке игрока
        public static readonly int ScoreKoefPosition = 200;
        //Весовой коэффициент свободы от опеки в оценке игрока
        public static readonly int ScoreKoefFreedom = 50;
        //Весовой коэффициент возможности удара в оценке игрока
        public static readonly int ScoreKoefCanShoot = 80;
        //Весовой коэффициент расстояния до игрока в оценке
        public static readonly int ScoreKoefPassDist = 50;
        //Идеальное расстояние для паса (меньше - близко, дальше - неточно)
        public static readonly float BestPassDistance = 250f;
		//Идеальное расстояние от мяча для поиска позиции для открытия
		public static readonly float BestDistanceForFree = 400f;
		//Наименьшая скорость паса (удара) игрока, для которой рассчитаны радиусы и дельты
		public static readonly int PlayerMinShootStr = 7;
		//Мы используем только целую скорость, поэтому удобна и константа типа int
		public static readonly int PlayerMaxShootStr = 10;
		//оценки за безопасный и рискованный пасы
    	public static readonly int SafeShootScore = 10;
		public static readonly int RiskyShootScore = 6;
		//Кол-во ходов, в течении которых отдавший пас игрок не будет брать мяч
    	public static readonly int PassCoolDownSteps = 10;
		//Линия, за которой свободные игроки будут открываться не вперед, а назад
		public static readonly double BackPositionsForOpenLine = Field.Borders.Width - 50;

        //"Радиус" игрока при определении безопасности паса
        public static int GetPlayerRadius(int dist, int shootStrength)
        {
            switch (shootStrength)
            {
				case 10: return dist >= 999 ? 0 : PlayerRadius10[dist];
				case 9: return dist >= 999 ? 0 : PlayerRadius9[dist];
				case 8: return dist >= 999 ? 0 : PlayerRadius8[dist];
				case 7: return dist >= 899 ? 0 : PlayerRadius7[dist];
				case 6: return dist >= 799 ? 0 : PlayerRadius6[dist];
                default: throw new Exception("Скорость "+ shootStrength +" не поддерживается!");
            }    
        }

        //"Радиус" игрока при определении безопасности паса, если игрок движется по направлению к мячу со скоростью vel
        public static int GetPlayerRadiusWithStartVelocity(int dist, int shootStrength, double vel)
        {
            int radius = GetPlayerRadius(dist, shootStrength);
            if (radius == 1 || Math.Abs(vel) < EPS)
                return radius;

			int index = IndexByDistAndVel(dist, (int)Math.Round(Math.Abs(vel) * 10));
            int delta;
            switch (shootStrength)
            {
				case 10:
            		delta = vel < 0 ? PlayerDelta10[index] : PlayerMinusDelta10[index];
                    break;
                case 9:
					delta = vel < 0 ? PlayerDelta9[index] : PlayerMinusDelta9[index];
                    break;
                case 8:
					delta = vel < 0 ? PlayerDelta8[index] : PlayerMinusDelta8[index];
                    break;
                case 7:
					delta = vel < 0 ? PlayerDelta7[index] : PlayerMinusDelta7[index];
                    break;
                default: throw new Exception("Скорость "+ shootStrength +" не поддерживается!");
            }
            return radius + delta;
        }

		public static double GetAngleDelta(int dist, int shootStrength, double vel, bool velToSideDirectedToBall = true)
		{
			int index = IndexByDistAndVel(dist, (int)Math.Round(Math.Abs(vel) * 10));
			double delta;
            switch (shootStrength)
            {
				case 10: delta = velToSideDirectedToBall ? AngleDelta10[index] : AngleMinusDelta10[index];
                    break;
				case 9: delta = velToSideDirectedToBall ? AngleDelta9[index] : AngleMinusDelta9[index];
                    break;
				case 8: delta = velToSideDirectedToBall ? AngleDelta8[index] : AngleMinusDelta8[index];
                    break;
				case 7: delta = velToSideDirectedToBall ? AngleDelta7[index] : AngleMinusDelta7[index];
                    break;
                default: throw new Exception("Скорость "+ shootStrength +" не поддерживается!");
            }
			return (vel >= 0 ? 1 : -1)*Math.Abs(delta);
		}

    	public static Safeness GetSectorSafeness(Sector sector, int strength)
    	{
    		double sigma = GetSigma(strength);
    		double size = sector.Size;

    		if (size > 4 * sigma)
    			return Safeness.Safe;
    		return size > 2 * sigma ? Safeness.Risky : Safeness.Impossible;
    	}

    	public static float GetSigma(int shootStrength)
    	{
    		return shootStrength / Constants.PlayerMaxShootStr * Constants.BallMaxStrStd;
    	}

    	public static float GetBallVelocityByShootStrength(int shootStrength)
    	{
    		return shootStrength / Constants.PlayerMaxShootStr * Constants.BallMaxVelocity;
    	}

		public static readonly int[] Diapasons =
    		{
    			35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,//0-42
				120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,//43-58
				200,210,220,230,240,250,260,270,280,290,//59-68
				300,325,350,375,400,425,450,475,500,525,550,575,//69-80
				600,650,700,750,Int32.MaxValue//81-85
    		};

		//1-2, 3-4, 5-6, 7-8, 9-10, 11-12, 13-14, 15-16, 17-18, 19-20, 21-22, 23-24, 25-26, 27-28, 29-30
		public static int IndexByDistAndVel(int dist, int vel)
		{
			int row = (vel - 1) / 2;
			if (row > 14) row = 14;

			int col;
			for (col = 0; col < Diapasons.Length; col++)
				if (dist < Diapasons[col])
					break;

			return row * Diapasons.Length + col;
		}

#region AngleDelta
		#region AngleDeltaStrength10
		private static readonly double[] AngleDelta10 = new[]
		    {
				0.00,0.00,0.02,0.01,0.02,0.01,0.02,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.02,0.00,0.02,0.01,0.02,0.01,0.01,0.00,0.02,0.01,0.03,0.02,0.01,0.02,0.01,0.02,0.01,0.02,0.03,0.02,0.02,0.01,0.02,0.02,0.01,0.01,0.02,0.01,0.01,0.01,0.02,0.02,0.03,0.01,0.02,0.01,0.02,0.02,0.02,0.01,0.02,0.02,0.03,0.01,0.01,0.02,0.02,0.02,0.01,0.01,0.02,0.02,0.02,0.02,0.03,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.02,0.02,0.02,0.01,0.01,0.01,0.02,0.01,0.01,0.01,//0.2
				0.00,0.00,0.04,0.03,0.02,0.03,0.02,0.01,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.02,0.04,0.03,0.04,0.03,0.03,0.02,0.04,0.03,0.03,0.02,0.03,0.02,0.03,0.02,0.03,0.02,0.03,0.04,0.02,0.03,0.04,0.02,0.03,0.03,0.02,0.03,0.03,0.03,0.02,0.04,0.03,0.03,0.02,0.03,0.04,0.02,0.03,0.03,0.03,0.02,0.03,0.03,0.03,0.03,0.02,0.03,0.03,0.03,0.02,0.02,0.02,0.02,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.02,0.02,0.01,0.01,0.02,0.02,0.01,0.02,0.01,//0.4
				0.00,0.00,0.04,0.03,0.04,0.03,0.02,0.03,0.03,0.03,0.03,0.03,0.05,0.03,0.04,0.02,0.04,0.03,0.04,0.03,0.03,0.04,0.04,0.03,0.05,0.04,0.05,0.04,0.05,0.04,0.03,0.04,0.05,0.04,0.04,0.03,0.04,0.04,0.05,0.03,0.04,0.05,0.03,0.03,0.04,0.04,0.05,0.03,0.04,0.04,0.04,0.04,0.04,0.03,0.04,0.04,0.05,0.03,0.03,0.04,0.04,0.03,0.03,0.03,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.02,0.02,0.03,0.03,0.03,0.02,0.02,0.02,0.02,//0.6
				0.00,0.00,0.06,0.05,0.04,0.03,0.04,0.03,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.06,0.05,0.06,0.05,0.05,0.04,0.06,0.05,0.05,0.06,0.05,0.06,0.05,0.06,0.05,0.06,0.05,0.06,0.04,0.05,0.06,0.06,0.05,0.05,0.04,0.05,0.05,0.05,0.05,0.06,0.05,0.05,0.05,0.05,0.06,0.04,0.05,0.05,0.05,0.04,0.05,0.05,0.05,0.05,0.04,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.05,0.05,0.05,0.03,0.03,0.03,0.03,0.03,0.02,0.04,0.04,0.03,0.03,0.03,0.02,0.03,0.02,0.02,//0.8
				0.00,0.00,0.06,0.05,0.04,0.05,0.04,0.03,0.07,0.05,0.05,0.05,0.07,0.05,0.06,0.04,0.06,0.07,0.08,0.07,0.07,0.06,0.06,0.07,0.07,0.06,0.07,0.06,0.07,0.06,0.07,0.06,0.07,0.08,0.06,0.07,0.06,0.06,0.07,0.05,0.06,0.07,0.07,0.05,0.06,0.06,0.07,0.06,0.06,0.06,0.06,0.06,0.07,0.05,0.06,0.06,0.07,0.05,0.05,0.06,0.06,0.05,0.05,0.05,0.06,0.06,0.04,0.04,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.03,0.02,0.03,//1
				0.00,0.00,0.08,0.07,0.06,0.05,0.06,0.05,0.07,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.08,0.07,0.08,0.07,0.07,0.08,0.08,0.07,0.07,0.08,0.07,0.08,0.07,0.08,0.07,0.08,0.09,0.08,0.08,0.07,0.08,0.08,0.07,0.07,0.08,0.07,0.07,0.07,0.07,0.08,0.08,0.07,0.07,0.07,0.08,0.07,0.07,0.07,0.08,0.06,0.07,0.07,0.07,0.07,0.06,0.07,0.07,0.06,0.06,0.06,0.06,0.06,0.07,0.06,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.03,0.03,0.04,0.04,0.03,0.03,0.03,//1.2
				0.00,0.00,0.08,0.07,0.06,0.07,0.06,0.05,0.09,0.07,0.07,0.07,0.09,0.07,0.08,0.08,0.10,0.09,0.10,0.09,0.09,0.08,0.08,0.09,0.09,0.08,0.09,0.08,0.09,0.08,0.09,0.10,0.09,0.10,0.08,0.09,0.10,0.08,0.09,0.09,0.08,0.09,0.09,0.09,0.08,0.09,0.09,0.09,0.08,0.09,0.08,0.08,0.09,0.08,0.08,0.08,0.09,0.07,0.07,0.08,0.08,0.07,0.07,0.07,0.08,0.07,0.06,0.06,0.07,0.07,0.07,0.07,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.05,0.05,0.05,0.04,0.03,0.04,0.03,//1.4
				0.00,0.00,0.08,0.07,0.08,0.07,0.06,0.07,0.09,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.10,0.09,0.10,0.09,0.09,0.10,0.10,0.09,0.11,0.10,0.11,0.10,0.09,0.10,0.11,0.10,0.11,0.10,0.10,0.11,0.10,0.10,0.11,0.09,0.10,0.11,0.09,0.09,0.10,0.10,0.10,0.09,0.10,0.09,0.10,0.10,0.09,0.09,0.10,0.08,0.09,0.09,0.09,0.09,0.08,0.09,0.09,0.07,0.08,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.05,0.04,0.04,0.04,0.03,//1.6
				0.00,0.00,0.10,0.09,0.08,0.07,0.08,0.07,0.09,0.09,0.09,0.09,0.11,0.09,0.10,0.10,0.12,0.11,0.12,0.11,0.11,0.10,0.12,0.11,0.11,0.12,0.11,0.12,0.11,0.12,0.11,0.12,0.11,0.12,0.10,0.11,0.12,0.10,0.11,0.11,0.12,0.11,0.11,0.11,0.10,0.11,0.11,0.11,0.10,0.11,0.10,0.10,0.11,0.10,0.10,0.10,0.11,0.10,0.09,0.10,0.10,0.09,0.09,0.09,0.09,0.08,0.08,0.08,0.09,0.09,0.08,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.05,0.04,0.05,0.04,0.04,//1.8
				0.00,0.00,0.10,0.09,0.08,0.09,0.08,0.07,0.11,0.11,0.11,0.11,0.11,0.11,0.10,0.10,0.12,0.11,0.12,0.11,0.13,0.12,0.12,0.11,0.13,0.12,0.13,0.12,0.13,0.12,0.13,0.12,0.13,0.12,0.12,0.13,0.12,0.12,0.13,0.11,0.12,0.13,0.13,0.11,0.12,0.12,0.13,0.11,0.12,0.12,0.12,0.12,0.11,0.11,0.12,0.11,0.11,0.11,0.11,0.11,0.10,0.11,0.10,0.09,0.10,0.10,0.10,0.08,0.09,0.09,0.09,0.09,0.08,0.07,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.05,0.06,0.05,0.04,0.05,//2
				0.00,0.00,0.12,0.11,0.10,0.09,0.08,0.09,0.11,0.11,0.11,0.11,0.13,0.11,0.12,0.12,0.14,0.13,0.14,0.13,0.13,0.14,0.14,0.13,0.13,0.14,0.13,0.14,0.13,0.14,0.13,0.14,0.13,0.14,0.14,0.13,0.14,0.14,0.13,0.13,0.14,0.13,0.13,0.13,0.13,0.14,0.13,0.13,0.12,0.13,0.13,0.12,0.13,0.13,0.12,0.12,0.13,0.12,0.11,0.12,0.12,0.11,0.11,0.11,0.11,0.10,0.10,0.10,0.11,0.10,0.09,0.09,0.09,0.09,0.09,0.09,0.07,0.06,0.07,0.07,0.07,0.07,0.06,0.05,0.05,0.05,//2.2
				0.00,0.00,0.12,0.11,0.10,0.09,0.10,0.09,0.13,0.13,0.11,0.13,0.13,0.13,0.14,0.14,0.16,0.13,0.14,0.15,0.15,0.14,0.14,0.15,0.15,0.16,0.15,0.14,0.15,0.14,0.15,0.14,0.15,0.16,0.14,0.15,0.16,0.14,0.15,0.15,0.14,0.15,0.15,0.13,0.14,0.14,0.15,0.14,0.14,0.14,0.14,0.14,0.13,0.13,0.14,0.13,0.13,0.13,0.13,0.12,0.12,0.13,0.12,0.11,0.12,0.12,0.11,0.10,0.11,0.11,0.11,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.07,0.07,0.06,0.05,0.06,0.05,//2.4
				0.00,0.00,0.12,0.11,0.12,0.11,0.10,0.11,0.13,0.13,0.13,0.13,0.15,0.13,0.14,0.14,0.16,0.15,0.16,0.15,0.15,0.16,0.16,0.15,0.17,0.16,0.17,0.16,0.15,0.16,0.17,0.16,0.17,0.16,0.16,0.17,0.16,0.16,0.15,0.15,0.16,0.17,0.15,0.15,0.16,0.16,0.16,0.15,0.15,0.15,0.16,0.14,0.15,0.15,0.14,0.14,0.15,0.14,0.13,0.14,0.14,0.13,0.13,0.13,0.12,0.12,0.12,0.12,0.11,0.11,0.11,0.11,0.11,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.07,0.07,0.06,0.06,0.06,0.05,//2.6
				0.00,0.00,0.14,0.13,0.12,0.11,0.10,0.11,0.15,0.13,0.13,0.15,0.15,0.15,0.16,0.16,0.18,0.17,0.18,0.17,0.17,0.16,0.16,0.17,0.17,0.18,0.17,0.16,0.17,0.18,0.17,0.18,0.17,0.18,0.16,0.17,0.18,0.16,0.17,0.17,0.16,0.17,0.17,0.17,0.16,0.17,0.17,0.16,0.16,0.16,0.16,0.16,0.15,0.15,0.16,0.15,0.15,0.15,0.15,0.14,0.14,0.15,0.14,0.13,0.14,0.13,0.12,0.12,0.13,0.13,0.12,0.11,0.11,0.11,0.11,0.09,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.07,0.06,0.06,//2.8
				0.00,0.00,0.14,0.13,0.12,0.11,0.12,0.13,0.15,0.15,0.15,0.17,0.17,0.15,0.16,0.16,0.18,0.17,0.18,0.17,0.19,0.18,0.18,0.17,0.19,0.18,0.19,0.18,0.19,0.18,0.19,0.18,0.19,0.18,0.18,0.19,0.18,0.18,0.19,0.17,0.18,0.19,0.17,0.17,0.18,0.18,0.18,0.17,0.17,0.17,0.18,0.16,0.17,0.17,0.16,0.16,0.17,0.16,0.15,0.16,0.16,0.15,0.15,0.15,0.14,0.14,0.14,0.14,0.13,0.13,0.13,0.12,0.11,0.11,0.11,0.11,0.10,0.10,0.10,0.09,0.09,0.09,0.08,0.07,0.06,0.06 //3
		    };

		private static readonly double[] AngleMinusDelta10 = new[]
		    {
		        0.00,0.00,0.00,0.01,0.00,-0.01,0.00,-0.01,0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,-0.02,0.00,-0.01,0.00,-0.01,-0.01,-0.02,0.00,-0.01,-0.01,0.00,-0.01,0.00,-0.01,0.00,-0.01,0.00,-0.01,0.00,0.00,-0.01,0.00,0.00,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,-0.01,0.00,0.00,-0.01,0.00,-0.01,0.00,0.00,-0.01,-0.01,0.00,0.00,0.00,-0.01,-0.01,0.00,0.00,0.00,-0.01,-0.01,0.00,0.00,0.00,0.00,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.00,0.00,0.00,0.00,0.01,0.01,0.00,0.01,0.00,0.01,//0.2
				0.00,0.00,0.00,-0.01,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.03,-0.02,-0.02,-0.02,-0.03,-0.02,-0.01,-0.01,-0.02,-0.02,-0.03,-0.01,-0.02,-0.03,-0.02,-0.01,-0.02,-0.01,-0.02,-0.01,-0.02,-0.02,-0.01,-0.02,-0.02,-0.01,-0.03,-0.02,-0.01,-0.01,-0.03,-0.02,-0.02,-0.01,-0.02,-0.02,-0.01,-0.01,-0.02,-0.01,-0.01,-0.02,-0.02,-0.01,-0.01,-0.01,-0.02,-0.02,-0.01,-0.01,-0.01,0.00,0.00,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.01,0.00,0.00,0.00,-0.01,-0.01,0.01,0.00,0.00,0.00,0.00,//0.4
				0.00,0.00,-0.02,-0.01,-0.02,-0.03,-0.02,-0.03,-0.01,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.04,-0.02,-0.03,-0.02,-0.03,-0.03,-0.04,-0.04,-0.03,-0.03,-0.02,-0.03,-0.04,-0.03,-0.04,-0.03,-0.04,-0.03,-0.02,-0.04,-0.03,-0.02,-0.04,-0.03,-0.03,-0.04,-0.03,-0.03,-0.03,-0.03,-0.02,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.03,-0.03,-0.02,-0.02,-0.02,-0.03,-0.03,-0.02,-0.02,-0.01,-0.02,-0.03,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.02,0.00,0.00,-0.01,-0.01,-0.01,0.00,-0.01,0.00,0.00,//0.6
				0.00,0.00,-0.02,-0.03,-0.02,-0.03,-0.02,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.05,-0.04,-0.04,-0.04,-0.05,-0.04,-0.05,-0.03,-0.04,-0.04,-0.05,-0.03,-0.04,-0.05,-0.04,-0.05,-0.04,-0.05,-0.04,-0.05,-0.04,-0.04,-0.05,-0.04,-0.04,-0.05,-0.05,-0.04,-0.03,-0.05,-0.05,-0.04,-0.04,-0.03,-0.04,-0.04,-0.03,-0.04,-0.04,-0.03,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.04,-0.04,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.03,-0.03,-0.03,-0.02,-0.01,-0.01,-0.01,-0.01,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,//0.8
				0.00,0.00,-0.04,-0.03,-0.04,-0.03,-0.04,-0.03,-0.03,-0.05,-0.05,-0.05,-0.05,-0.05,-0.06,-0.06,-0.04,-0.07,-0.04,-0.05,-0.05,-0.06,-0.06,-0.05,-0.05,-0.06,-0.05,-0.06,-0.05,-0.06,-0.05,-0.06,-0.05,-0.04,-0.06,-0.05,-0.06,-0.06,-0.05,-0.05,-0.06,-0.05,-0.05,-0.05,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.05,-0.05,-0.05,-0.04,-0.04,-0.05,-0.05,-0.05,-0.04,-0.04,-0.03,-0.04,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.01,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.02,-0.01,-0.01,-0.01,//1
				0.00,0.00,-0.04,-0.05,-0.04,-0.05,-0.04,-0.05,-0.03,-0.05,-0.05,-0.05,-0.05,-0.07,-0.06,-0.06,-0.06,-0.07,-0.06,-0.07,-0.07,-0.08,-0.06,-0.07,-0.07,-0.06,-0.07,-0.08,-0.07,-0.06,-0.07,-0.06,-0.07,-0.06,-0.06,-0.07,-0.06,-0.08,-0.07,-0.07,-0.06,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.03,-0.02,-0.01,-0.02,-0.01,-0.02,-0.01,//1.2
				0.00,0.00,-0.06,-0.05,-0.06,-0.05,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.07,-0.06,-0.08,-0.06,-0.07,-0.06,-0.07,-0.07,-0.08,-0.08,-0.07,-0.07,-0.08,-0.07,-0.08,-0.07,-0.08,-0.07,-0.08,-0.07,-0.08,-0.08,-0.07,-0.08,-0.08,-0.07,-0.09,-0.08,-0.07,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.08,-0.07,-0.06,-0.07,-0.07,-0.07,-0.06,-0.06,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.06,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.04,-0.03,-0.03,-0.03,-0.04,-0.03,-0.02,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,//1.4
				0.00,0.00,-0.06,-0.07,-0.06,-0.07,-0.06,-0.07,-0.05,-0.07,-0.07,-0.07,-0.07,-0.07,-0.08,-0.08,-0.06,-0.07,-0.06,-0.07,-0.07,-0.08,-0.08,-0.07,-0.07,-0.08,-0.07,-0.08,-0.09,-0.08,-0.07,-0.08,-0.09,-0.08,-0.08,-0.09,-0.08,-0.10,-0.09,-0.09,-0.08,-0.09,-0.09,-0.09,-0.09,-0.08,-0.08,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.03,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.02,-0.03,-0.02,-0.02,//1.6
				0.00,0.00,-0.08,-0.07,-0.08,-0.07,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.09,-0.08,-0.08,-0.06,-0.09,-0.08,-0.07,-0.07,-0.08,-0.08,-0.09,-0.07,-0.08,-0.09,-0.08,-0.09,-0.08,-0.09,-0.08,-0.09,-0.08,-0.08,-0.09,-0.08,-0.10,-0.09,-0.09,-0.10,-0.09,-0.09,-0.11,-0.10,-0.10,-0.09,-0.10,-0.10,-0.09,-0.08,-0.10,-0.09,-0.09,-0.08,-0.08,-0.09,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.07,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,//1.8
				0.00,0.00,-0.08,-0.09,-0.08,-0.09,-0.08,-0.07,-0.07,-0.09,-0.07,-0.07,-0.07,-0.09,-0.08,-0.08,-0.08,-0.09,-0.08,-0.09,-0.09,-0.10,-0.08,-0.09,-0.09,-0.08,-0.09,-0.10,-0.09,-0.08,-0.09,-0.08,-0.09,-0.08,-0.10,-0.09,-0.08,-0.10,-0.09,-0.09,-0.10,-0.09,-0.09,-0.11,-0.10,-0.10,-0.09,-0.11,-0.10,-0.11,-0.10,-0.10,-0.09,-0.11,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.10,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.06,-0.05,-0.05,-0.05,-0.06,-0.04,-0.04,-0.05,-0.04,-0.03,-0.04,-0.03,-0.03,-0.03,//2
				0.00,0.00,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.07,-0.09,-0.09,-0.09,-0.09,-0.09,-0.08,-0.10,-0.08,-0.09,-0.08,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.08,-0.09,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.08,-0.10,-0.09,-0.10,-0.10,-0.09,-0.11,-0.10,-0.09,-0.11,-0.11,-0.10,-0.10,-0.09,-0.11,-0.11,-0.11,-0.10,-0.12,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.05,-0.05,-0.06,-0.06,-0.04,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,//2.2
				0.00,0.00,-0.12,-0.11,-0.10,-0.11,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.11,-0.10,-0.10,-0.08,-0.11,-0.08,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.10,-0.10,-0.09,-0.10,-0.10,-0.11,-0.11,-0.10,-0.09,-0.11,-0.11,-0.10,-0.10,-0.10,-0.11,-0.11,-0.11,-0.11,-0.12,-0.11,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.12,-0.11,-0.11,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,//2.4
				0.00,0.00,-0.12,-0.13,-0.12,-0.11,-0.10,-0.11,-0.09,-0.11,-0.11,-0.09,-0.11,-0.11,-0.10,-0.10,-0.10,-0.11,-0.10,-0.09,-0.09,-0.10,-0.10,-0.11,-0.09,-0.10,-0.11,-0.10,-0.11,-0.10,-0.09,-0.10,-0.11,-0.10,-0.10,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.11,-0.10,-0.11,-0.11,-0.12,-0.11,-0.12,-0.12,-0.11,-0.13,-0.12,-0.12,-0.13,-0.13,-0.13,-0.12,-0.12,-0.11,-0.11,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,//2.6
				0.00,0.00,-0.14,-0.13,-0.12,-0.13,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.12,-0.10,-0.11,-0.10,-0.11,-0.11,-0.12,-0.10,-0.11,-0.09,-0.10,-0.11,-0.10,-0.11,-0.10,-0.11,-0.10,-0.11,-0.10,-0.10,-0.11,-0.10,-0.12,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.12,-0.11,-0.11,-0.11,-0.12,-0.12,-0.12,-0.12,-0.11,-0.13,-0.12,-0.12,-0.13,-0.13,-0.13,-0.13,-0.14,-0.13,-0.13,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.10,-0.09,-0.09,-0.09,-0.07,-0.07,-0.08,-0.07,-0.06,-0.07,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,//2.8
				0.00,0.00,-0.14,-0.15,-0.14,-0.13,-0.12,-0.13,-0.11,-0.11,-0.11,-0.11,-0.11,-0.13,-0.12,-0.12,-0.10,-0.11,-0.10,-0.11,-0.11,-0.12,-0.12,-0.11,-0.11,-0.10,-0.11,-0.12,-0.11,-0.10,-0.11,-0.10,-0.11,-0.10,-0.12,-0.11,-0.10,-0.12,-0.11,-0.11,-0.12,-0.11,-0.11,-0.11,-0.12,-0.11,-0.11,-0.12,-0.12,-0.12,-0.12,-0.12,-0.13,-0.13,-0.12,-0.12,-0.13,-0.13,-0.13,-0.14,-0.14,-0.13,-0.13,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.10,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.05 //3                                       		
		    };
		#endregion

		#region AngleDeltaStrength9
    	private static readonly double[] AngleDelta9 = new[]
    	    {
				0.00,0.00,0.03,0.01,0.01,0.02,0.02,0.01,0.01,0.02,0.01,0.03,0.01,0.03,0.02,0.02,0.02,0.02,0.03,0.02,0.01,0.02,0.01,0.02,0.01,0.02,0.02,0.01,0.02,0.02,0.01,0.03,0.01,0.02,0.03,0.02,0.02,0.03,0.01,0.02,0.03,0.01,0.01,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.03,0.01,0.02,0.02,0.02,0.02,0.01,0.01,0.02,0.02,0.03,0.02,0.01,0.01,0.01,0.01,0.02,0.02,0.02,0.02,0.01,0.01,0.01,0.01,0.02,0.02,0.01,0.01,0.02,0.02,0.01,0.01,0.02,0.01,//0.2
				0.00,0.00,0.03,0.03,0.03,0.02,0.02,0.01,0.03,0.02,0.03,0.03,0.03,0.03,0.04,0.04,0.02,0.02,0.03,0.02,0.03,0.04,0.03,0.02,0.03,0.02,0.04,0.03,0.04,0.02,0.03,0.03,0.03,0.04,0.03,0.04,0.02,0.03,0.03,0.04,0.03,0.03,0.03,0.04,0.03,0.03,0.03,0.04,0.02,0.03,0.04,0.03,0.03,0.03,0.04,0.02,0.02,0.03,0.03,0.03,0.03,0.02,0.03,0.03,0.03,0.03,0.03,0.03,0.04,0.02,0.02,0.02,0.02,0.03,0.03,0.03,0.02,0.02,0.01,0.03,0.02,0.02,0.02,0.02,0.02,0.02,//0.4
				0.00,0.00,0.05,0.03,0.03,0.04,0.04,0.03,0.03,0.04,0.03,0.05,0.03,0.05,0.04,0.04,0.04,0.04,0.05,0.04,0.03,0.04,0.05,0.04,0.05,0.04,0.04,0.05,0.04,0.04,0.03,0.05,0.05,0.04,0.05,0.04,0.04,0.05,0.05,0.04,0.05,0.05,0.03,0.04,0.05,0.04,0.05,0.04,0.04,0.04,0.04,0.04,0.05,0.04,0.04,0.04,0.04,0.05,0.03,0.03,0.04,0.04,0.05,0.03,0.03,0.03,0.03,0.03,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.02,0.02,0.03,0.03,0.02,0.02,0.03,0.02,0.02,0.02,//0.6
				0.00,0.00,0.05,0.05,0.03,0.04,0.04,0.03,0.05,0.04,0.05,0.05,0.05,0.05,0.06,0.06,0.06,0.04,0.07,0.06,0.05,0.06,0.05,0.06,0.05,0.06,0.06,0.05,0.06,0.04,0.05,0.07,0.05,0.06,0.05,0.06,0.06,0.05,0.05,0.06,0.07,0.05,0.05,0.06,0.06,0.06,0.05,0.06,0.06,0.05,0.06,0.06,0.05,0.05,0.06,0.05,0.04,0.05,0.05,0.05,0.05,0.04,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.04,0.04,0.03,0.03,0.02,0.03,0.03,0.03,0.02,0.02,//0.8
				0.00,0.00,0.07,0.05,0.05,0.06,0.06,0.05,0.05,0.06,0.07,0.07,0.05,0.07,0.08,0.06,0.06,0.06,0.07,0.06,0.07,0.08,0.07,0.06,0.07,0.06,0.08,0.07,0.08,0.06,0.07,0.07,0.07,0.06,0.07,0.08,0.06,0.07,0.07,0.06,0.07,0.07,0.07,0.06,0.07,0.07,0.07,0.07,0.06,0.07,0.07,0.06,0.07,0.07,0.06,0.06,0.06,0.07,0.06,0.05,0.06,0.06,0.07,0.05,0.05,0.05,0.05,0.05,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.04,0.04,0.03,0.03,0.04,0.04,0.03,0.03,0.03,0.02,//1
				0.00,0.00,0.07,0.07,0.05,0.06,0.06,0.05,0.07,0.06,0.07,0.09,0.07,0.07,0.08,0.08,0.08,0.08,0.09,0.08,0.07,0.08,0.09,0.08,0.07,0.08,0.08,0.09,0.08,0.08,0.07,0.09,0.09,0.08,0.09,0.08,0.08,0.09,0.07,0.08,0.09,0.09,0.07,0.08,0.09,0.08,0.09,0.08,0.08,0.08,0.08,0.08,0.07,0.07,0.08,0.08,0.06,0.07,0.07,0.07,0.08,0.06,0.07,0.07,0.07,0.07,0.06,0.05,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.04,0.04,0.03,0.05,0.04,0.04,0.03,0.03,0.04,0.03,//1.2
				0.00,0.00,0.07,0.07,0.07,0.06,0.06,0.07,0.07,0.08,0.09,0.09,0.09,0.09,0.10,0.10,0.08,0.08,0.11,0.10,0.09,0.10,0.09,0.10,0.09,0.08,0.10,0.09,0.10,0.08,0.09,0.11,0.09,0.10,0.09,0.10,0.10,0.09,0.09,0.10,0.09,0.09,0.09,0.10,0.09,0.10,0.09,0.10,0.08,0.09,0.10,0.08,0.09,0.09,0.08,0.08,0.08,0.09,0.09,0.07,0.08,0.08,0.09,0.07,0.07,0.07,0.07,0.07,0.08,0.08,0.06,0.06,0.05,0.05,0.05,0.05,0.04,0.06,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.03,//1.4
				0.00,0.00,0.09,0.07,0.07,0.08,0.08,0.07,0.09,0.08,0.09,0.11,0.09,0.11,0.10,0.10,0.10,0.10,0.11,0.10,0.09,0.12,0.11,0.10,0.11,0.10,0.12,0.11,0.12,0.10,0.11,0.11,0.11,0.10,0.11,0.12,0.10,0.11,0.11,0.10,0.11,0.11,0.11,0.10,0.11,0.10,0.11,0.10,0.10,0.10,0.10,0.10,0.10,0.09,0.10,0.10,0.10,0.09,0.09,0.09,0.10,0.08,0.09,0.09,0.09,0.08,0.07,0.07,0.08,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.06,0.06,0.05,0.05,0.04,0.05,0.05,0.04,0.04,0.04,//1.6
				0.00,0.00,0.09,0.09,0.07,0.08,0.08,0.09,0.09,0.10,0.11,0.11,0.11,0.11,0.12,0.12,0.12,0.12,0.13,0.12,0.11,0.12,0.13,0.12,0.11,0.12,0.12,0.13,0.12,0.12,0.11,0.13,0.11,0.12,0.13,0.12,0.12,0.13,0.11,0.12,0.13,0.11,0.11,0.12,0.12,0.12,0.12,0.12,0.11,0.11,0.12,0.11,0.11,0.11,0.12,0.10,0.10,0.11,0.11,0.10,0.10,0.10,0.11,0.09,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.06,0.06,0.05,0.05,0.06,0.06,0.05,0.05,0.04,0.04,//1.8
				0.00,0.00,0.11,0.09,0.09,0.10,0.08,0.09,0.11,0.10,0.13,0.13,0.11,0.13,0.14,0.12,0.12,0.12,0.13,0.14,0.13,0.14,0.13,0.14,0.13,0.12,0.14,0.13,0.14,0.12,0.13,0.15,0.13,0.14,0.13,0.14,0.14,0.13,0.13,0.14,0.13,0.13,0.13,0.14,0.13,0.13,0.13,0.13,0.12,0.13,0.12,0.12,0.13,0.12,0.12,0.12,0.12,0.11,0.11,0.11,0.12,0.11,0.11,0.11,0.11,0.10,0.09,0.09,0.10,0.10,0.10,0.09,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.07,0.06,0.06,0.05,0.05,0.05,0.04,//2
				0.00,0.00,0.11,0.11,0.09,0.10,0.10,0.11,0.11,0.12,0.13,0.13,0.13,0.13,0.14,0.14,0.14,0.14,0.15,0.14,0.13,0.16,0.15,0.14,0.15,0.14,0.16,0.15,0.14,0.14,0.15,0.15,0.15,0.14,0.15,0.16,0.14,0.15,0.15,0.14,0.15,0.15,0.13,0.14,0.15,0.14,0.15,0.14,0.14,0.14,0.14,0.14,0.13,0.13,0.14,0.13,0.12,0.13,0.13,0.13,0.12,0.12,0.12,0.11,0.11,0.11,0.11,0.11,0.10,0.10,0.10,0.10,0.09,0.09,0.09,0.09,0.08,0.08,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.04,//2.2
				0.00,0.00,0.11,0.11,0.11,0.10,0.10,0.11,0.13,0.12,0.15,0.15,0.13,0.15,0.16,0.16,0.16,0.16,0.17,0.16,0.15,0.16,0.17,0.16,0.15,0.16,0.16,0.17,0.16,0.16,0.15,0.17,0.15,0.16,0.17,0.16,0.16,0.15,0.15,0.16,0.17,0.15,0.15,0.16,0.16,0.16,0.15,0.16,0.14,0.15,0.15,0.14,0.15,0.15,0.14,0.14,0.14,0.13,0.13,0.13,0.14,0.13,0.13,0.13,0.13,0.11,0.11,0.11,0.12,0.12,0.10,0.10,0.09,0.09,0.09,0.09,0.08,0.08,0.07,0.07,0.06,0.06,0.07,0.06,0.06,0.05,//2.4
				0.00,0.00,0.13,0.11,0.11,0.12,0.10,0.13,0.13,0.14,0.15,0.15,0.15,0.17,0.16,0.16,0.16,0.16,0.17,0.16,0.17,0.18,0.17,0.16,0.17,0.16,0.18,0.17,0.18,0.16,0.17,0.17,0.17,0.18,0.17,0.18,0.16,0.17,0.17,0.18,0.17,0.17,0.17,0.16,0.17,0.16,0.17,0.16,0.16,0.16,0.16,0.16,0.15,0.15,0.16,0.15,0.14,0.15,0.15,0.15,0.14,0.14,0.14,0.13,0.13,0.13,0.13,0.11,0.12,0.12,0.12,0.12,0.10,0.09,0.09,0.09,0.08,0.08,0.07,0.07,0.08,0.08,0.07,0.06,0.06,0.06,//2.6
				0.00,0.00,0.13,0.13,0.11,0.12,0.12,0.13,0.15,0.16,0.17,0.17,0.17,0.17,0.18,0.18,0.18,0.18,0.19,0.18,0.17,0.20,0.19,0.18,0.19,0.18,0.18,0.19,0.18,0.18,0.19,0.19,0.19,0.18,0.19,0.18,0.18,0.19,0.19,0.18,0.19,0.19,0.17,0.18,0.18,0.18,0.18,0.18,0.17,0.17,0.18,0.17,0.17,0.17,0.16,0.16,0.16,0.16,0.15,0.15,0.16,0.15,0.15,0.15,0.14,0.13,0.13,0.13,0.14,0.13,0.12,0.12,0.11,0.11,0.11,0.11,0.10,0.10,0.09,0.09,0.08,0.08,0.07,0.07,0.06,0.06,//2.8
				0.00,0.00,0.15,0.13,0.13,0.12,0.12,0.15,0.15,0.16,0.17,0.17,0.17,0.19,0.20,0.18,0.18,0.20,0.21,0.20,0.19,0.20,0.19,0.20,0.19,0.20,0.20,0.21,0.20,0.20,0.19,0.21,0.19,0.20,0.21,0.20,0.20,0.19,0.19,0.20,0.19,0.19,0.19,0.20,0.19,0.19,0.19,0.19,0.18,0.18,0.18,0.18,0.19,0.17,0.18,0.18,0.16,0.17,0.17,0.17,0.16,0.16,0.16,0.15,0.15,0.15,0.15,0.13,0.14,0.14,0.14,0.12,0.11,0.11,0.11,0.11,0.10,0.10,0.09,0.09,0.08,0.08,0.07,0.07,0.07,0.06 //3
    	    };

    	private static readonly double[] AngleMinusDelta9 = new[]
    	    {
				0.00,0.00,0.01,-0.01,-0.01,0.00,0.00,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,-0.01,0.00,0.00,0.00,-0.02,-0.01,0.00,-0.01,0.00,-0.01,-0.02,-0.01,-0.02,0.00,-0.01,0.00,-0.02,-0.01,-0.01,-0.01,0.00,-0.01,0.00,-0.02,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,0.00,-0.01,0.00,-0.01,0.00,-0.01,-0.01,0.00,0.00,-0.01,-0.01,0.00,0.00,0.00,-0.01,-0.01,-0.01,0.00,0.00,0.01,0.00,-0.01,-0.01,-0.01,-0.01,0.00,0.00,0.00,0.00,-0.01,0.01,0.01,0.01,0.00,0.00,0.01,0.01,0.00,0.00,0.01,0.01,0.00,0.00,//0.2
				0.00,0.00,-0.01,-0.01,-0.01,0.00,0.00,-0.01,-0.01,-0.02,-0.01,-0.01,-0.03,-0.01,-0.02,-0.02,-0.02,-0.02,-0.01,-0.02,-0.03,-0.02,-0.03,-0.02,-0.03,-0.02,-0.02,-0.03,-0.02,-0.02,-0.03,-0.01,-0.03,-0.02,-0.01,-0.02,-0.02,-0.01,-0.03,-0.02,-0.01,-0.03,-0.03,-0.02,-0.01,-0.02,-0.01,-0.02,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,0.00,0.00,0.00,-0.01,-0.01,-0.01,0.00,0.00,0.00,-0.01,0.00,0.00,0.00,0.00,0.00,0.00,0.00,//0.4
				0.00,0.00,-0.01,-0.01,-0.03,-0.02,-0.02,-0.03,-0.03,-0.02,-0.03,-0.03,-0.03,-0.03,-0.02,-0.04,-0.04,-0.04,-0.03,-0.04,-0.05,-0.02,-0.03,-0.04,-0.03,-0.04,-0.04,-0.03,-0.04,-0.04,-0.05,-0.03,-0.03,-0.04,-0.03,-0.02,-0.04,-0.03,-0.03,-0.04,-0.03,-0.03,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,-0.04,-0.03,-0.02,-0.03,-0.03,-0.03,-0.02,-0.02,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.01,-0.01,-0.02,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,-0.01,-0.01,0.00,0.00,-0.01,0.00,0.00,0.00,//0.6
				0.00,0.00,-0.03,-0.03,-0.03,-0.02,-0.02,-0.03,-0.03,-0.04,-0.03,-0.03,-0.05,-0.03,-0.04,-0.04,-0.04,-0.04,-0.05,-0.06,-0.05,-0.04,-0.05,-0.06,-0.05,-0.06,-0.04,-0.05,-0.04,-0.06,-0.05,-0.05,-0.05,-0.04,-0.05,-0.04,-0.04,-0.05,-0.05,-0.04,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.04,-0.04,-0.04,-0.04,-0.04,-0.03,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.03,-0.02,-0.01,-0.01,-0.02,-0.01,-0.01,-0.01,-0.02,0.00,-0.01,-0.01,0.00,0.00,//0.8
				0.00,0.00,-0.03,-0.03,-0.05,-0.04,-0.02,-0.05,-0.05,-0.04,-0.05,-0.05,-0.07,-0.05,-0.06,-0.06,-0.06,-0.06,-0.05,-0.06,-0.07,-0.06,-0.05,-0.06,-0.07,-0.06,-0.06,-0.07,-0.06,-0.06,-0.07,-0.05,-0.07,-0.06,-0.05,-0.06,-0.06,-0.05,-0.07,-0.06,-0.05,-0.07,-0.07,-0.06,-0.05,-0.06,-0.05,-0.05,-0.06,-0.05,-0.04,-0.06,-0.05,-0.05,-0.04,-0.05,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.03,-0.03,-0.03,-0.01,-0.02,-0.02,-0.02,-0.01,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,//1
				0.00,0.00,-0.05,-0.05,-0.05,-0.04,-0.04,-0.05,-0.05,-0.06,-0.05,-0.05,-0.07,-0.05,-0.06,-0.08,-0.08,-0.08,-0.07,-0.08,-0.09,-0.06,-0.07,-0.08,-0.07,-0.08,-0.08,-0.07,-0.08,-0.08,-0.07,-0.07,-0.07,-0.08,-0.07,-0.06,-0.08,-0.07,-0.07,-0.08,-0.07,-0.07,-0.07,-0.06,-0.07,-0.06,-0.07,-0.06,-0.07,-0.07,-0.06,-0.06,-0.06,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,//1.2
				0.00,0.00,-0.05,-0.05,-0.05,-0.04,-0.04,-0.05,-0.07,-0.06,-0.05,-0.07,-0.07,-0.07,-0.06,-0.08,-0.08,-0.08,-0.07,-0.08,-0.09,-0.08,-0.07,-0.08,-0.09,-0.10,-0.08,-0.09,-0.08,-0.10,-0.09,-0.09,-0.09,-0.08,-0.09,-0.08,-0.08,-0.09,-0.09,-0.08,-0.07,-0.09,-0.09,-0.08,-0.08,-0.08,-0.07,-0.08,-0.08,-0.07,-0.08,-0.08,-0.07,-0.07,-0.06,-0.07,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.05,-0.04,-0.03,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,-0.02,//1.4
				0.00,0.00,-0.07,-0.07,-0.07,-0.06,-0.06,-0.07,-0.07,-0.06,-0.07,-0.07,-0.09,-0.07,-0.08,-0.08,-0.08,-0.08,-0.07,-0.08,-0.09,-0.08,-0.09,-0.10,-0.09,-0.10,-0.08,-0.09,-0.10,-0.10,-0.09,-0.09,-0.11,-0.10,-0.09,-0.10,-0.10,-0.09,-0.11,-0.10,-0.09,-0.09,-0.11,-0.10,-0.09,-0.10,-0.09,-0.08,-0.10,-0.09,-0.08,-0.08,-0.09,-0.09,-0.08,-0.08,-0.08,-0.07,-0.07,-0.09,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.04,-0.05,-0.05,-0.05,-0.03,-0.04,-0.04,-0.03,-0.03,-0.04,-0.02,-0.03,-0.02,-0.02,-0.02,//1.6
				0.00,0.00,-0.07,-0.07,-0.07,-0.06,-0.06,-0.07,-0.09,-0.08,-0.07,-0.07,-0.09,-0.07,-0.08,-0.08,-0.08,-0.08,-0.09,-0.10,-0.09,-0.08,-0.09,-0.10,-0.09,-0.10,-0.10,-0.09,-0.10,-0.10,-0.11,-0.09,-0.11,-0.10,-0.09,-0.10,-0.10,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.10,-0.11,-0.10,-0.11,-0.10,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,-0.02,//1.8
				0.00,0.00,-0.09,-0.09,-0.09,-0.08,-0.08,-0.09,-0.09,-0.08,-0.09,-0.09,-0.09,-0.09,-0.08,-0.10,-0.10,-0.10,-0.09,-0.10,-0.11,-0.08,-0.09,-0.10,-0.11,-0.10,-0.10,-0.09,-0.10,-0.10,-0.11,-0.09,-0.11,-0.10,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.12,-0.11,-0.12,-0.11,-0.12,-0.12,-0.11,-0.10,-0.12,-0.11,-0.11,-0.10,-0.10,-0.10,-0.09,-0.10,-0.11,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.08,-0.08,-0.07,-0.06,-0.07,-0.06,-0.05,-0.05,-0.05,-0.04,-0.05,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,//2
				0.00,0.00,-0.11,-0.11,-0.09,-0.08,-0.08,-0.09,-0.09,-0.10,-0.09,-0.09,-0.11,-0.09,-0.10,-0.10,-0.10,-0.10,-0.09,-0.10,-0.11,-0.10,-0.09,-0.10,-0.11,-0.10,-0.10,-0.11,-0.10,-0.12,-0.11,-0.11,-0.11,-0.12,-0.11,-0.10,-0.12,-0.11,-0.11,-0.12,-0.11,-0.11,-0.13,-0.12,-0.11,-0.12,-0.12,-0.12,-0.13,-0.13,-0.12,-0.12,-0.11,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.06,-0.05,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,//2.2
				0.00,0.00,-0.11,-0.11,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.09,-0.11,-0.11,-0.09,-0.10,-0.10,-0.10,-0.10,-0.09,-0.10,-0.11,-0.10,-0.11,-0.10,-0.11,-0.12,-0.10,-0.11,-0.10,-0.12,-0.11,-0.11,-0.11,-0.12,-0.11,-0.10,-0.12,-0.11,-0.11,-0.12,-0.11,-0.11,-0.13,-0.12,-0.11,-0.12,-0.12,-0.12,-0.13,-0.13,-0.13,-0.14,-0.13,-0.13,-0.12,-0.12,-0.12,-0.13,-0.13,-0.13,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.04,//2.4
				0.00,0.00,-0.13,-0.13,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.11,-0.11,-0.11,-0.11,-0.10,-0.12,-0.12,-0.12,-0.11,-0.12,-0.11,-0.10,-0.11,-0.12,-0.11,-0.12,-0.10,-0.11,-0.12,-0.12,-0.11,-0.11,-0.11,-0.12,-0.11,-0.12,-0.12,-0.11,-0.13,-0.12,-0.11,-0.13,-0.13,-0.12,-0.12,-0.12,-0.13,-0.12,-0.14,-0.13,-0.13,-0.14,-0.13,-0.15,-0.14,-0.14,-0.14,-0.13,-0.13,-0.13,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.10,-0.10,-0.08,-0.09,-0.08,-0.07,-0.07,-0.07,-0.06,-0.07,-0.05,-0.06,-0.05,-0.05,-0.04,-0.04,-0.04,//2.6
				0.00,0.00,-0.13,-0.13,-0.13,-0.12,-0.12,-0.11,-0.13,-0.12,-0.11,-0.11,-0.13,-0.11,-0.12,-0.12,-0.12,-0.12,-0.11,-0.12,-0.13,-0.10,-0.11,-0.12,-0.13,-0.12,-0.12,-0.11,-0.12,-0.12,-0.13,-0.11,-0.13,-0.12,-0.11,-0.12,-0.12,-0.13,-0.13,-0.12,-0.11,-0.13,-0.13,-0.12,-0.12,-0.12,-0.13,-0.13,-0.14,-0.13,-0.14,-0.14,-0.14,-0.15,-0.14,-0.14,-0.16,-0.15,-0.15,-0.15,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.13,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.08,-0.07,-0.08,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.04,-0.04,//2.8
				0.00,0.00,-0.15,-0.15,-0.15,-0.12,-0.12,-0.13,-0.13,-0.12,-0.11,-0.13,-0.13,-0.11,-0.12,-0.12,-0.12,-0.12,-0.11,-0.12,-0.13,-0.12,-0.11,-0.12,-0.13,-0.12,-0.12,-0.11,-0.12,-0.12,-0.13,-0.11,-0.13,-0.12,-0.13,-0.12,-0.12,-0.13,-0.13,-0.12,-0.13,-0.13,-0.13,-0.12,-0.13,-0.13,-0.13,-0.14,-0.14,-0.14,-0.14,-0.14,-0.14,-0.15,-0.14,-0.15,-0.16,-0.15,-0.15,-0.15,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.12,-0.12,-0.11,-0.10,-0.10,-0.09,-0.09,-0.08,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.04 //3

    	    };
		#endregion

		#region AngleDeltaStrength8
    	private static readonly double[] AngleDelta8 = new[]
    	    {
				0.00,0.00,0.00,0.01,0.03,0.02,0.02,0.02,0.02,0.02,0.02,0.01,0.01,0.02,0.02,0.01,0.01,0.01,0.01,0.03,0.03,0.02,0.01,0.03,0.02,0.01,0.03,0.02,0.02,0.01,0.02,0.03,0.02,0.03,0.01,0.01,0.02,0.03,0.02,0.02,0.03,0.03,0.01,0.02,0.02,0.01,0.02,0.02,0.02,0.03,0.02,0.01,0.02,0.02,0.03,0.02,0.01,0.02,0.02,0.02,0.02,0.03,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.02,0.02,0.02,0.01,0.02,0.02,0.01,0.02,0.01,0.02,0.01,0.01,0.01,0.01,//0.2
				0.00,0.00,0.00,0.03,0.03,0.02,0.04,0.02,0.02,0.04,0.04,0.03,0.03,0.04,0.02,0.03,0.03,0.03,0.03,0.03,0.05,0.04,0.03,0.03,0.04,0.03,0.05,0.04,0.04,0.03,0.04,0.03,0.04,0.05,0.03,0.03,0.04,0.03,0.04,0.04,0.03,0.03,0.03,0.04,0.03,0.03,0.03,0.03,0.04,0.03,0.03,0.03,0.04,0.03,0.03,0.03,0.03,0.04,0.04,0.03,0.02,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.02,0.02,0.03,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,//0.4
				0.00,0.00,0.00,0.03,0.03,0.04,0.04,0.04,0.04,0.04,0.04,0.03,0.05,0.06,0.04,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.05,0.05,0.06,0.05,0.05,0.06,0.04,0.05,0.04,0.05,0.06,0.05,0.05,0.05,0.04,0.05,0.06,0.04,0.05,0.05,0.05,0.04,0.04,0.05,0.04,0.05,0.04,0.05,0.05,0.05,0.04,0.04,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.05,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.03,0.04,0.03,0.02,0.03,0.03,0.02,0.03,0.02,0.02,0.02,0.02,0.02,//0.6
				0.00,0.00,0.00,0.05,0.05,0.04,0.04,0.04,0.04,0.06,0.06,0.05,0.07,0.06,0.06,0.07,0.07,0.07,0.05,0.07,0.07,0.06,0.05,0.07,0.06,0.07,0.07,0.08,0.06,0.07,0.06,0.07,0.06,0.07,0.07,0.05,0.06,0.07,0.06,0.06,0.07,0.07,0.05,0.06,0.06,0.05,0.06,0.06,0.06,0.07,0.05,0.05,0.06,0.06,0.05,0.05,0.05,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.03,0.03,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,//0.8
				0.00,0.00,0.00,0.05,0.05,0.04,0.06,0.06,0.06,0.08,0.08,0.07,0.07,0.08,0.06,0.07,0.07,0.07,0.07,0.07,0.09,0.08,0.07,0.09,0.08,0.07,0.09,0.08,0.08,0.07,0.08,0.09,0.08,0.09,0.07,0.07,0.08,0.07,0.08,0.08,0.09,0.07,0.07,0.08,0.07,0.07,0.07,0.07,0.08,0.07,0.07,0.07,0.07,0.06,0.07,0.07,0.07,0.06,0.06,0.06,0.06,0.07,0.07,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.04,0.03,0.04,0.03,0.04,0.03,0.03,0.03,0.03,//1
				0.00,0.00,0.00,0.07,0.07,0.06,0.06,0.06,0.06,0.08,0.08,0.07,0.09,0.08,0.08,0.09,0.09,0.09,0.09,0.09,0.09,0.10,0.09,0.09,0.10,0.09,0.11,0.10,0.08,0.09,0.10,0.09,0.10,0.09,0.09,0.09,0.08,0.09,0.10,0.10,0.09,0.09,0.09,0.10,0.08,0.09,0.08,0.09,0.08,0.09,0.09,0.07,0.08,0.08,0.09,0.07,0.07,0.08,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.05,0.05,0.05,0.05,0.04,0.06,0.06,0.05,0.04,0.04,0.05,0.04,0.04,0.04,0.04,0.03,0.03,0.03,//1.2
				0.00,0.00,0.00,0.07,0.07,0.06,0.08,0.08,0.08,0.10,0.10,0.09,0.11,0.10,0.10,0.11,0.11,0.11,0.11,0.11,0.11,0.10,0.11,0.11,0.10,0.11,0.11,0.12,0.10,0.11,0.10,0.11,0.10,0.11,0.11,0.09,0.10,0.11,0.12,0.10,0.11,0.11,0.09,0.10,0.10,0.10,0.10,0.10,0.10,0.11,0.09,0.09,0.10,0.09,0.09,0.09,0.09,0.10,0.08,0.08,0.08,0.09,0.09,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.06,0.05,0.04,0.05,0.04,0.04,0.04,0.03,0.04,//1.4
				0.00,0.00,0.00,0.07,0.07,0.08,0.08,0.08,0.08,0.10,0.10,0.11,0.11,0.12,0.10,0.11,0.11,0.11,0.11,0.13,0.13,0.12,0.11,0.13,0.12,0.11,0.13,0.12,0.12,0.11,0.12,0.13,0.12,0.13,0.13,0.11,0.12,0.13,0.12,0.12,0.13,0.11,0.11,0.12,0.11,0.11,0.11,0.11,0.12,0.11,0.11,0.11,0.10,0.10,0.11,0.11,0.09,0.10,0.10,0.10,0.10,0.09,0.09,0.09,0.09,0.09,0.09,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.04,0.05,0.04,0.04,0.04,//1.6
				0.00,0.00,0.00,0.09,0.09,0.08,0.10,0.10,0.10,0.12,0.12,0.11,0.13,0.12,0.12,0.13,0.13,0.13,0.13,0.13,0.13,0.14,0.13,0.13,0.14,0.13,0.15,0.14,0.14,0.13,0.14,0.13,0.14,0.15,0.13,0.13,0.12,0.13,0.14,0.14,0.13,0.13,0.13,0.14,0.12,0.13,0.12,0.13,0.12,0.13,0.13,0.11,0.12,0.12,0.11,0.11,0.11,0.12,0.12,0.10,0.10,0.11,0.11,0.09,0.09,0.09,0.09,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.06,0.06,0.06,0.06,0.05,0.06,0.05,0.05,0.04,0.04,//1.8
				0.00,0.00,0.00,0.09,0.09,0.08,0.10,0.10,0.12,0.14,0.12,0.13,0.13,0.14,0.14,0.15,0.15,0.15,0.15,0.15,0.15,0.14,0.15,0.15,0.14,0.15,0.15,0.16,0.14,0.15,0.14,0.15,0.16,0.15,0.15,0.13,0.14,0.15,0.16,0.14,0.15,0.15,0.13,0.14,0.14,0.14,0.14,0.14,0.14,0.14,0.13,0.13,0.14,0.12,0.13,0.13,0.13,0.12,0.12,0.12,0.12,0.11,0.11,0.11,0.11,0.11,0.10,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.06,0.07,0.07,0.06,0.06,0.06,0.05,0.05,0.05,0.05,//2
				0.00,0.00,0.00,0.11,0.11,0.10,0.12,0.12,0.12,0.14,0.14,0.15,0.15,0.16,0.16,0.15,0.15,0.15,0.17,0.17,0.17,0.16,0.15,0.17,0.16,0.17,0.17,0.16,0.16,0.17,0.16,0.17,0.16,0.17,0.17,0.15,0.16,0.17,0.16,0.16,0.17,0.15,0.15,0.16,0.15,0.15,0.15,0.15,0.16,0.15,0.15,0.14,0.14,0.14,0.15,0.13,0.13,0.14,0.14,0.13,0.12,0.13,0.13,0.12,0.11,0.11,0.11,0.11,0.11,0.11,0.10,0.09,0.08,0.08,0.08,0.07,0.08,0.08,0.07,0.06,0.07,0.06,0.06,0.05,0.05,0.05,//2.2
				0.00,0.00,0.00,0.11,0.11,0.10,0.12,0.12,0.14,0.16,0.16,0.15,0.17,0.16,0.16,0.17,0.17,0.17,0.17,0.17,0.19,0.18,0.17,0.17,0.18,0.17,0.19,0.18,0.18,0.17,0.18,0.17,0.18,0.19,0.17,0.17,0.18,0.17,0.18,0.18,0.17,0.17,0.17,0.18,0.16,0.17,0.16,0.16,0.16,0.17,0.16,0.15,0.16,0.16,0.15,0.15,0.15,0.14,0.14,0.14,0.14,0.13,0.13,0.13,0.13,0.13,0.11,0.11,0.11,0.11,0.11,0.11,0.10,0.10,0.10,0.09,0.08,0.08,0.07,0.08,0.07,0.06,0.07,0.06,0.05,0.05,//2.4
				0.00,0.00,0.00,0.11,0.11,0.10,0.14,0.14,0.14,0.16,0.16,0.17,0.17,0.18,0.18,0.19,0.19,0.19,0.19,0.19,0.19,0.20,0.19,0.19,0.20,0.19,0.19,0.20,0.20,0.19,0.20,0.19,0.20,0.19,0.19,0.19,0.18,0.19,0.20,0.18,0.19,0.19,0.19,0.18,0.18,0.18,0.18,0.18,0.18,0.17,0.17,0.17,0.16,0.16,0.17,0.16,0.15,0.16,0.16,0.16,0.15,0.15,0.15,0.14,0.13,0.13,0.13,0.13,0.13,0.12,0.11,0.11,0.10,0.10,0.10,0.09,0.08,0.08,0.09,0.08,0.07,0.07,0.07,0.06,0.06,0.06,//2.6
				0.00,0.00,0.00,0.13,0.13,0.12,0.14,0.14,0.16,0.18,0.18,0.17,0.19,0.20,0.20,0.19,0.19,0.19,0.21,0.21,0.21,0.20,0.21,0.21,0.20,0.21,0.21,0.22,0.20,0.21,0.20,0.21,0.20,0.21,0.21,0.19,0.20,0.21,0.20,0.20,0.21,0.19,0.19,0.20,0.19,0.19,0.19,0.19,0.19,0.19,0.19,0.17,0.18,0.18,0.17,0.17,0.17,0.18,0.16,0.16,0.16,0.16,0.15,0.15,0.15,0.14,0.13,0.13,0.13,0.13,0.13,0.12,0.10,0.10,0.10,0.09,0.10,0.10,0.09,0.08,0.08,0.08,0.07,0.07,0.06,0.06,//2.8
				0.00,0.00,0.00,0.13,0.13,0.12,0.16,0.16,0.16,0.18,0.20,0.19,0.21,0.20,0.20,0.21,0.21,0.21,0.21,0.21,0.23,0.22,0.21,0.23,0.22,0.21,0.23,0.22,0.22,0.21,0.22,0.23,0.22,0.23,0.21,0.21,0.22,0.21,0.22,0.22,0.21,0.21,0.21,0.22,0.20,0.21,0.20,0.20,0.20,0.21,0.19,0.19,0.20,0.18,0.19,0.19,0.18,0.18,0.18,0.18,0.17,0.17,0.17,0.16,0.15,0.15,0.15,0.15,0.14,0.13,0.13,0.13,0.12,0.12,0.12,0.11,0.10,0.10,0.09,0.08,0.09,0.08,0.08,0.07,0.07,0.06 //3
    	    };

    	private static readonly double[] AngleMinusDelta8 = new[]
    	    {
				0.00,0.00,0.00,0.01,0.01,0.00,0.00,0.00,0.00,0.00,0.00,-0.01,-0.01,0.00,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,-0.01,-0.01,0.00,-0.01,-0.01,0.00,-0.02,-0.01,0.00,-0.01,0.00,-0.01,-0.01,-0.01,-0.02,-0.01,0.00,0.00,-0.01,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,0.00,0.00,-0.01,-0.01,-0.01,0.00,0.00,0.00,0.00,0.00,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.01,0.00,0.00,0.00,0.01,0.00,0.00,0.01,0.00,0.01,0.00,0.01,0.01,0.01,0.01,//0.2
				0.00,0.00,0.00,-0.01,-0.01,0.00,0.00,-0.02,-0.02,-0.02,-0.02,-0.03,-0.01,-0.02,-0.02,-0.03,-0.03,-0.03,-0.03,-0.03,-0.01,-0.02,-0.03,-0.03,-0.02,-0.03,-0.01,-0.02,-0.02,-0.03,-0.02,-0.03,-0.02,-0.01,-0.03,-0.03,-0.02,-0.03,-0.02,-0.02,-0.01,-0.03,-0.03,-0.02,-0.02,-0.03,-0.02,-0.02,-0.02,-0.01,-0.01,-0.03,-0.02,-0.02,-0.01,-0.01,-0.01,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,0.00,-0.01,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,//0.4
				0.00,0.00,0.00,-0.01,-0.01,-0.02,-0.02,-0.04,-0.02,-0.02,-0.02,-0.03,-0.03,-0.04,-0.04,-0.03,-0.05,-0.03,-0.03,-0.03,-0.03,-0.04,-0.05,-0.03,-0.04,-0.03,-0.03,-0.04,-0.04,-0.03,-0.04,-0.03,-0.04,-0.03,-0.03,-0.05,-0.04,-0.03,-0.04,-0.04,-0.03,-0.03,-0.03,-0.04,-0.04,-0.03,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.01,-0.01,-0.02,-0.02,0.00,-0.01,-0.01,0.00,-0.01,0.00,-0.01,0.00,0.00,0.00,0.00,0.00,//0.6
				0.00,0.00,0.00,-0.03,-0.03,-0.02,-0.02,-0.04,-0.04,-0.04,-0.04,-0.05,-0.05,-0.04,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.06,-0.05,-0.05,-0.06,-0.05,-0.05,-0.04,-0.06,-0.05,-0.06,-0.05,-0.04,-0.05,-0.05,-0.05,-0.06,-0.05,-0.04,-0.06,-0.05,-0.05,-0.05,-0.04,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.05,-0.05,-0.04,-0.04,-0.03,-0.04,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,//0.8
				0.00,0.00,0.00,-0.03,-0.03,-0.04,-0.02,-0.06,-0.06,-0.04,-0.06,-0.05,-0.05,-0.06,-0.06,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.07,-0.07,-0.06,-0.07,-0.05,-0.06,-0.06,-0.07,-0.06,-0.07,-0.06,-0.05,-0.07,-0.07,-0.06,-0.07,-0.06,-0.06,-0.05,-0.07,-0.07,-0.06,-0.06,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.03,-0.03,-0.03,-0.03,-0.04,-0.02,-0.02,-0.02,-0.02,-0.02,-0.01,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,//1
				0.00,0.00,0.00,-0.05,-0.05,-0.04,-0.04,-0.06,-0.06,-0.06,-0.06,-0.07,-0.07,-0.08,-0.08,-0.07,-0.09,-0.09,-0.07,-0.07,-0.07,-0.08,-0.09,-0.07,-0.08,-0.09,-0.07,-0.08,-0.08,-0.09,-0.08,-0.07,-0.08,-0.07,-0.07,-0.09,-0.08,-0.07,-0.08,-0.08,-0.07,-0.07,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.03,-0.04,-0.04,-0.02,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,//1.2
				0.00,0.00,0.00,-0.05,-0.05,-0.06,-0.04,-0.08,-0.06,-0.06,-0.08,-0.07,-0.07,-0.08,-0.08,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.10,-0.09,-0.09,-0.10,-0.09,-0.09,-0.08,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.09,-0.11,-0.10,-0.09,-0.08,-0.10,-0.09,-0.09,-0.09,-0.08,-0.10,-0.09,-0.09,-0.09,-0.08,-0.07,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.07,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.04,-0.03,-0.03,-0.02,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,//1.4
				0.00,0.00,0.00,-0.07,-0.07,-0.06,-0.06,-0.08,-0.08,-0.08,-0.08,-0.09,-0.09,-0.08,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.10,-0.11,-0.09,-0.10,-0.11,-0.09,-0.10,-0.12,-0.11,-0.10,-0.11,-0.10,-0.11,-0.11,-0.11,-0.12,-0.11,-0.10,-0.10,-0.11,-0.11,-0.11,-0.10,-0.10,-0.11,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.05,-0.06,-0.04,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,//1.6
				0.00,0.00,0.00,-0.09,-0.07,-0.08,-0.06,-0.10,-0.08,-0.08,-0.08,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.11,-0.09,-0.09,-0.09,-0.10,-0.11,-0.11,-0.10,-0.11,-0.11,-0.10,-0.12,-0.11,-0.12,-0.11,-0.12,-0.11,-0.11,-0.13,-0.12,-0.11,-0.12,-0.12,-0.11,-0.11,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.10,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.04,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,//1.8
				0.00,0.00,0.00,-0.09,-0.09,-0.08,-0.08,-0.10,-0.10,-0.08,-0.10,-0.09,-0.09,-0.10,-0.10,-0.09,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.11,-0.11,-0.12,-0.11,-0.11,-0.10,-0.12,-0.11,-0.12,-0.11,-0.12,-0.11,-0.13,-0.13,-0.12,-0.13,-0.12,-0.12,-0.13,-0.13,-0.13,-0.14,-0.14,-0.13,-0.13,-0.13,-0.12,-0.11,-0.12,-0.13,-0.12,-0.12,-0.11,-0.11,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.04,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,//2
				0.00,0.00,0.00,-0.11,-0.09,-0.10,-0.08,-0.10,-0.10,-0.10,-0.10,-0.11,-0.11,-0.10,-0.10,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.12,-0.11,-0.11,-0.12,-0.11,-0.11,-0.12,-0.12,-0.13,-0.12,-0.13,-0.12,-0.11,-0.13,-0.13,-0.14,-0.13,-0.12,-0.14,-0.13,-0.13,-0.13,-0.14,-0.14,-0.15,-0.14,-0.14,-0.14,-0.13,-0.13,-0.13,-0.12,-0.14,-0.13,-0.13,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.07,-0.08,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.03,//2.2
				0.00,0.00,0.00,-0.11,-0.11,-0.10,-0.10,-0.12,-0.10,-0.10,-0.10,-0.11,-0.11,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.12,-0.13,-0.11,-0.12,-0.13,-0.11,-0.12,-0.12,-0.13,-0.12,-0.13,-0.12,-0.13,-0.13,-0.13,-0.14,-0.13,-0.12,-0.14,-0.13,-0.13,-0.15,-0.14,-0.15,-0.15,-0.15,-0.15,-0.14,-0.15,-0.15,-0.15,-0.14,-0.14,-0.13,-0.13,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.09,-0.09,-0.09,-0.08,-0.08,-0.06,-0.07,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,//2.4
				0.00,0.00,0.00,-0.13,-0.11,-0.12,-0.10,-0.12,-0.12,-0.10,-0.12,-0.11,-0.11,-0.12,-0.12,-0.11,-0.13,-0.13,-0.13,-0.11,-0.11,-0.12,-0.13,-0.13,-0.12,-0.13,-0.11,-0.12,-0.14,-0.13,-0.12,-0.13,-0.12,-0.13,-0.13,-0.15,-0.14,-0.13,-0.14,-0.14,-0.13,-0.15,-0.15,-0.14,-0.15,-0.15,-0.16,-0.15,-0.16,-0.15,-0.15,-0.16,-0.16,-0.16,-0.15,-0.15,-0.15,-0.14,-0.14,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.12,-0.11,-0.11,-0.11,-0.11,-0.10,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,//2.6
				0.00,0.00,0.00,-0.13,-0.13,-0.12,-0.12,-0.14,-0.12,-0.12,-0.12,-0.13,-0.13,-0.12,-0.12,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.12,-0.13,-0.13,-0.14,-0.13,-0.13,-0.12,-0.14,-0.13,-0.14,-0.13,-0.14,-0.13,-0.13,-0.15,-0.14,-0.13,-0.14,-0.14,-0.13,-0.15,-0.15,-0.14,-0.16,-0.15,-0.16,-0.16,-0.16,-0.15,-0.17,-0.17,-0.16,-0.16,-0.15,-0.15,-0.17,-0.16,-0.16,-0.16,-0.15,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.08,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.04,-0.04,//2.8
				0.00,0.00,0.00,-0.15,-0.13,-0.14,-0.12,-0.14,-0.14,-0.12,-0.12,-0.13,-0.13,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.14,-0.13,-0.13,-0.14,-0.13,-0.13,-0.12,-0.14,-0.13,-0.14,-0.13,-0.14,-0.13,-0.15,-0.15,-0.14,-0.15,-0.14,-0.14,-0.15,-0.15,-0.15,-0.14,-0.16,-0.15,-0.16,-0.16,-0.16,-0.16,-0.17,-0.17,-0.17,-0.18,-0.17,-0.17,-0.17,-0.16,-0.16,-0.16,-0.16,-0.15,-0.15,-0.15,-0.15,-0.13,-0.13,-0.13,-0.13,-0.13,-0.11,-0.11,-0.10,-0.10,-0.08,-0.09,-0.08,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.04 //3
    	    };
		#endregion

		#region AngleDeltaStrength7
		private static readonly double [] AngleDelta7 = new[]
			{
				0.00,0.00,0.00,0.03,0.02,0.01,0.03,0.01,0.02,0.02,0.02,0.02,0.01,0.02,0.03,0.01,0.01,0.01,0.01,0.03,0.02,0.02,0.01,0.03,0.02,0.03,0.02,0.02,0.01,0.02,0.01,0.02,0.03,0.02,0.02,0.03,0.01,0.02,0.02,0.03,0.01,0.02,0.03,0.03,0.02,0.02,0.03,0.02,0.02,0.03,0.02,0.02,0.02,0.02,0.02,0.03,0.03,0.01,0.01,0.01,0.02,0.02,0.02,0.02,0.02,0.02,0.01,0.01,0.01,0.01,0.02,0.02,0.01,0.02,0.01,0.02,0.01,0.02,0.01,0.02,0.01,0.02,0.01,0.01,0.01,0.01,//0.2
				0.00,0.00,0.00,0.03,0.02,0.03,0.03,0.03,0.04,0.04,0.02,0.04,0.03,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.04,0.04,0.03,0.05,0.04,0.03,0.04,0.02,0.03,0.04,0.03,0.04,0.03,0.04,0.04,0.03,0.03,0.04,0.04,0.03,0.03,0.04,0.05,0.03,0.03,0.04,0.03,0.04,0.04,0.03,0.03,0.04,0.04,0.04,0.02,0.03,0.03,0.03,0.03,0.03,0.04,0.04,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.03,0.02,0.03,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,//0.4
				0.00,0.00,0.00,0.03,0.04,0.03,0.05,0.03,0.06,0.04,0.04,0.06,0.05,0.06,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.06,0.05,0.05,0.06,0.05,0.06,0.04,0.05,0.04,0.05,0.06,0.05,0.06,0.06,0.05,0.05,0.06,0.04,0.05,0.05,0.06,0.05,0.05,0.05,0.05,0.05,0.06,0.04,0.05,0.05,0.06,0.04,0.04,0.04,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.03,0.04,0.03,0.03,0.03,0.03,0.03,0.02,0.03,0.02,0.03,0.02,0.02,0.02,0.02,0.02,//0.6
				0.00,0.00,0.00,0.05,0.04,0.05,0.05,0.05,0.06,0.06,0.06,0.06,0.07,0.06,0.07,0.07,0.07,0.07,0.07,0.07,0.06,0.08,0.07,0.07,0.08,0.07,0.08,0.06,0.07,0.06,0.07,0.06,0.07,0.08,0.06,0.07,0.07,0.06,0.06,0.07,0.07,0.06,0.07,0.07,0.07,0.06,0.07,0.06,0.06,0.07,0.07,0.06,0.06,0.06,0.06,0.07,0.05,0.05,0.05,0.05,0.06,0.06,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.05,0.04,0.03,0.04,0.03,0.04,0.03,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,//0.8
				0.00,0.00,0.00,0.05,0.06,0.05,0.07,0.05,0.08,0.08,0.08,0.08,0.07,0.08,0.09,0.09,0.09,0.09,0.09,0.09,0.08,0.08,0.09,0.09,0.08,0.09,0.08,0.08,0.07,0.08,0.09,0.08,0.09,0.08,0.08,0.09,0.09,0.08,0.08,0.09,0.07,0.08,0.09,0.09,0.08,0.08,0.08,0.08,0.08,0.08,0.07,0.08,0.08,0.08,0.06,0.07,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.03,0.04,0.03,0.04,0.03,0.03,0.03,0.03,//1
				0.00,0.00,0.00,0.07,0.06,0.05,0.07,0.07,0.10,0.08,0.08,0.10,0.09,0.10,0.09,0.09,0.09,0.09,0.09,0.11,0.10,0.10,0.11,0.11,0.10,0.11,0.10,0.10,0.09,0.10,0.09,0.10,0.11,0.10,0.10,0.11,0.09,0.10,0.10,0.09,0.09,0.10,0.11,0.09,0.09,0.10,0.09,0.10,0.09,0.09,0.09,0.10,0.08,0.08,0.08,0.09,0.09,0.09,0.07,0.07,0.08,0.08,0.08,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.07,0.06,0.05,0.05,0.05,0.04,0.05,0.04,0.05,0.04,0.04,0.04,0.04,0.03,0.03,0.03,//1.2
				0.00,0.00,0.00,0.07,0.06,0.07,0.09,0.09,0.10,0.10,0.10,0.10,0.11,0.12,0.11,0.11,0.11,0.11,0.11,0.11,0.12,0.12,0.11,0.13,0.12,0.13,0.12,0.10,0.11,0.12,0.11,0.12,0.11,0.12,0.12,0.11,0.11,0.12,0.12,0.11,0.11,0.12,0.11,0.11,0.11,0.11,0.11,0.11,0.10,0.11,0.11,0.10,0.10,0.10,0.10,0.09,0.09,0.09,0.09,0.09,0.10,0.09,0.08,0.08,0.08,0.08,0.07,0.07,0.07,0.07,0.07,0.06,0.06,0.06,0.05,0.06,0.05,0.05,0.05,0.04,0.05,0.04,0.04,0.04,0.04,0.04,//1.4
				0.00,0.00,0.00,0.09,0.08,0.07,0.09,0.09,0.12,0.12,0.12,0.12,0.13,0.12,0.13,0.13,0.13,0.13,0.13,0.13,0.12,0.14,0.13,0.13,0.14,0.13,0.14,0.12,0.13,0.12,0.13,0.14,0.13,0.14,0.12,0.13,0.13,0.14,0.12,0.13,0.13,0.12,0.13,0.13,0.13,0.12,0.13,0.12,0.12,0.12,0.11,0.12,0.12,0.12,0.10,0.11,0.11,0.11,0.11,0.11,0.10,0.10,0.10,0.10,0.10,0.10,0.09,0.09,0.09,0.09,0.09,0.08,0.07,0.06,0.06,0.06,0.05,0.06,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,//1.6
				0.00,0.00,0.00,0.09,0.08,0.07,0.11,0.11,0.12,0.12,0.12,0.14,0.13,0.14,0.15,0.15,0.15,0.15,0.15,0.15,0.14,0.16,0.15,0.15,0.16,0.15,0.16,0.14,0.15,0.14,0.15,0.14,0.15,0.16,0.14,0.15,0.15,0.14,0.14,0.15,0.15,0.14,0.15,0.15,0.14,0.14,0.14,0.14,0.14,0.13,0.13,0.14,0.12,0.12,0.12,0.13,0.13,0.11,0.11,0.11,0.12,0.12,0.11,0.10,0.10,0.10,0.09,0.09,0.09,0.09,0.09,0.08,0.07,0.08,0.07,0.06,0.07,0.06,0.06,0.06,0.05,0.06,0.05,0.05,0.04,0.04,//1.8
				0.00,0.00,0.00,0.09,0.08,0.09,0.11,0.11,0.14,0.14,0.14,0.14,0.15,0.16,0.17,0.15,0.15,0.17,0.17,0.17,0.16,0.16,0.17,0.17,0.16,0.17,0.16,0.16,0.15,0.16,0.17,0.16,0.17,0.16,0.16,0.17,0.15,0.16,0.16,0.17,0.15,0.16,0.17,0.17,0.15,0.16,0.15,0.16,0.14,0.15,0.15,0.14,0.14,0.14,0.14,0.13,0.13,0.13,0.13,0.13,0.12,0.12,0.12,0.12,0.12,0.12,0.11,0.11,0.09,0.09,0.09,0.09,0.09,0.08,0.07,0.08,0.07,0.06,0.07,0.06,0.06,0.06,0.05,0.05,0.05,0.05,//2
				0.00,0.00,0.00,0.11,0.10,0.09,0.13,0.13,0.16,0.16,0.16,0.16,0.17,0.16,0.17,0.17,0.17,0.17,0.17,0.19,0.18,0.18,0.17,0.19,0.18,0.19,0.18,0.18,0.17,0.18,0.17,0.18,0.19,0.18,0.18,0.17,0.17,0.18,0.18,0.17,0.17,0.18,0.19,0.17,0.17,0.17,0.17,0.16,0.16,0.17,0.15,0.16,0.16,0.16,0.14,0.15,0.15,0.15,0.14,0.13,0.14,0.14,0.14,0.12,0.12,0.12,0.11,0.11,0.11,0.11,0.11,0.10,0.09,0.08,0.09,0.08,0.07,0.08,0.07,0.06,0.07,0.06,0.06,0.06,0.05,0.05,//2.2
				0.00,0.00,0.00,0.11,0.10,0.11,0.13,0.15,0.16,0.16,0.16,0.18,0.17,0.18,0.19,0.19,0.19,0.19,0.19,0.19,0.20,0.20,0.19,0.21,0.20,0.19,0.20,0.18,0.19,0.20,0.19,0.20,0.19,0.20,0.20,0.19,0.19,0.20,0.18,0.19,0.19,0.18,0.19,0.19,0.19,0.18,0.19,0.18,0.18,0.17,0.17,0.18,0.16,0.16,0.16,0.17,0.16,0.15,0.15,0.15,0.16,0.14,0.14,0.14,0.14,0.14,0.13,0.11,0.11,0.11,0.11,0.10,0.09,0.10,0.09,0.08,0.09,0.08,0.07,0.08,0.07,0.06,0.06,0.06,0.06,0.05,//2.4
				0.00,0.00,0.00,0.11,0.10,0.11,0.15,0.15,0.18,0.18,0.18,0.20,0.19,0.20,0.21,0.21,0.21,0.21,0.21,0.21,0.20,0.22,0.21,0.21,0.22,0.21,0.22,0.20,0.21,0.20,0.21,0.20,0.21,0.22,0.20,0.21,0.21,0.20,0.20,0.21,0.19,0.20,0.21,0.21,0.20,0.20,0.19,0.20,0.19,0.19,0.19,0.18,0.18,0.18,0.18,0.17,0.17,0.17,0.17,0.17,0.16,0.16,0.16,0.15,0.14,0.14,0.13,0.13,0.13,0.13,0.13,0.12,0.11,0.10,0.09,0.10,0.09,0.08,0.08,0.08,0.07,0.07,0.07,0.06,0.06,0.06,//2.6
				0.00,0.00,0.00,0.13,0.12,0.13,0.15,0.17,0.20,0.20,0.20,0.20,0.21,0.22,0.23,0.21,0.23,0.23,0.23,0.23,0.22,0.24,0.23,0.23,0.24,0.23,0.24,0.22,0.23,0.22,0.23,0.22,0.23,0.22,0.22,0.23,0.21,0.22,0.22,0.23,0.21,0.22,0.23,0.21,0.21,0.22,0.21,0.21,0.20,0.21,0.19,0.20,0.20,0.19,0.18,0.19,0.19,0.18,0.17,0.17,0.18,0.17,0.16,0.16,0.16,0.16,0.15,0.13,0.13,0.13,0.13,0.12,0.11,0.10,0.11,0.10,0.09,0.09,0.09,0.08,0.08,0.08,0.07,0.07,0.06,0.06,//2.8
				0.00,0.00,0.00,0.13,0.12,0.13,0.17,0.17,0.20,0.20,0.22,0.22,0.23,0.22,0.23,0.23,0.23,0.23,0.25,0.25,0.24,0.24,0.25,0.25,0.24,0.25,0.24,0.24,0.23,0.24,0.23,0.24,0.25,0.24,0.24,0.25,0.23,0.24,0.24,0.23,0.23,0.24,0.23,0.23,0.23,0.23,0.23,0.22,0.22,0.21,0.21,0.22,0.20,0.20,0.20,0.20,0.19,0.19,0.19,0.19,0.18,0.18,0.18,0.17,0.16,0.16,0.15,0.15,0.15,0.15,0.15,0.14,0.13,0.12,0.11,0.10,0.10,0.10,0.09,0.08,0.09,0.08,0.08,0.07,0.07,0.06 //3
			};

		private static readonly double[] AngleMinusDelta7 = new[]
    	    {
				0.00,0.00,0.00,0.01,0.00,0.01,-0.01,-0.01,0.00,0.00,-0.02,0.00,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.02,0.00,-0.01,-0.01,0.00,-0.01,0.00,-0.02,-0.01,-0.02,-0.01,-0.02,-0.01,0.00,-0.02,-0.01,-0.01,0.00,-0.02,-0.01,-0.01,0.00,-0.01,-0.01,-0.01,0.00,-0.01,0.00,0.00,-0.01,-0.01,0.00,0.00,0.00,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,0.00,0.00,0.00,0.00,0.00,-0.01,-0.01,-0.01,-0.01,0.01,0.00,0.00,0.00,0.00,0.00,0.01,0.00,0.01,0.00,0.01,0.00,0.01,0.01,0.01,0.01,//0.2
				0.00,0.00,0.00,-0.01,0.00,-0.01,-0.01,-0.01,-0.02,-0.02,-0.02,-0.02,-0.03,-0.02,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.04,-0.02,-0.03,-0.03,-0.02,-0.03,-0.02,-0.04,-0.03,-0.04,-0.03,-0.02,-0.03,-0.02,-0.02,-0.03,-0.03,-0.02,-0.02,-0.03,-0.03,-0.02,-0.01,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.01,-0.03,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,-0.02,-0.02,-0.02,-0.02,-0.02,-0.02,0.00,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,-0.01,0.00,-0.01,0.00,-0.01,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,//0.4
				0.00,0.00,0.00,-0.01,-0.02,-0.01,-0.03,-0.03,-0.02,-0.04,-0.04,-0.04,-0.03,-0.04,-0.03,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.05,-0.03,-0.04,-0.05,-0.04,-0.06,-0.05,-0.04,-0.05,-0.04,-0.05,-0.04,-0.04,-0.03,-0.05,-0.04,-0.04,-0.05,-0.05,-0.04,-0.03,-0.03,-0.04,-0.04,-0.03,-0.04,-0.04,-0.03,-0.03,-0.02,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,-0.02,-0.03,-0.03,-0.03,-0.01,-0.01,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,0.00,-0.01,0.00,-0.01,0.00,0.00,0.00,0.00,0.00,//0.6
				0.00,0.00,0.00,-0.03,-0.02,-0.03,-0.03,-0.05,-0.04,-0.04,-0.06,-0.06,-0.05,-0.06,-0.05,-0.05,-0.07,-0.07,-0.05,-0.05,-0.06,-0.06,-0.07,-0.05,-0.06,-0.05,-0.06,-0.06,-0.07,-0.06,-0.07,-0.06,-0.05,-0.06,-0.06,-0.05,-0.07,-0.06,-0.06,-0.05,-0.05,-0.06,-0.05,-0.05,-0.05,-0.06,-0.05,-0.04,-0.06,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.04,-0.02,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.00,//0.8
				0.00,0.00,0.00,-0.03,-0.04,-0.03,-0.05,-0.05,-0.04,-0.06,-0.06,-0.06,-0.07,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.08,-0.08,-0.07,-0.07,-0.08,-0.07,-0.08,-0.08,-0.09,-0.08,-0.07,-0.08,-0.07,-0.06,-0.08,-0.07,-0.07,-0.08,-0.08,-0.07,-0.07,-0.06,-0.07,-0.07,-0.07,-0.06,-0.07,-0.06,-0.06,-0.06,-0.07,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.04,-0.04,-0.05,-0.05,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.01,-0.02,-0.01,-0.02,-0.01,-0.01,-0.01,-0.01,//1
				0.00,0.00,0.00,-0.05,-0.04,-0.05,-0.05,-0.07,-0.06,-0.08,-0.08,-0.08,-0.09,-0.08,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.08,-0.09,-0.10,-0.10,-0.09,-0.10,-0.09,-0.10,-0.09,-0.08,-0.10,-0.09,-0.09,-0.08,-0.10,-0.09,-0.09,-0.08,-0.07,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.03,-0.04,-0.03,-0.03,-0.03,-0.02,-0.03,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,//1.2
				0.00,0.00,0.00,-0.05,-0.06,-0.05,-0.07,-0.07,-0.08,-0.08,-0.08,-0.10,-0.09,-0.10,-0.09,-0.11,-0.11,-0.11,-0.11,-0.11,-0.12,-0.10,-0.11,-0.11,-0.10,-0.11,-0.10,-0.12,-0.11,-0.12,-0.11,-0.10,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.09,-0.09,-0.10,-0.10,-0.09,-0.09,-0.10,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.07,-0.08,-0.09,-0.09,-0.09,-0.08,-0.06,-0.06,-0.06,-0.06,-0.06,-0.07,-0.07,-0.06,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.02,-0.03,-0.02,-0.02,-0.02,-0.02,-0.02,//1.4
				0.00,0.00,0.00,-0.07,-0.06,-0.07,-0.07,-0.09,-0.08,-0.10,-0.10,-0.10,-0.09,-0.10,-0.11,-0.11,-0.11,-0.11,-0.11,-0.11,-0.12,-0.12,-0.13,-0.11,-0.12,-0.13,-0.12,-0.14,-0.13,-0.12,-0.13,-0.12,-0.13,-0.12,-0.12,-0.11,-0.13,-0.12,-0.12,-0.11,-0.13,-0.12,-0.11,-0.11,-0.11,-0.12,-0.11,-0.10,-0.10,-0.11,-0.11,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,//1.6
				0.00,0.00,0.00,-0.07,-0.08,-0.07,-0.07,-0.09,-0.08,-0.10,-0.10,-0.10,-0.11,-0.10,-0.11,-0.11,-0.11,-0.13,-0.11,-0.11,-0.12,-0.12,-0.13,-0.13,-0.12,-0.13,-0.14,-0.14,-0.15,-0.14,-0.15,-0.14,-0.13,-0.14,-0.14,-0.13,-0.13,-0.14,-0.14,-0.13,-0.13,-0.14,-0.13,-0.13,-0.13,-0.12,-0.13,-0.12,-0.12,-0.11,-0.11,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.08,-0.08,-0.08,-0.09,-0.09,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.03,-0.02,//1.8
				0.00,0.00,0.00,-0.09,-0.08,-0.09,-0.09,-0.09,-0.10,-0.10,-0.10,-0.12,-0.11,-0.12,-0.11,-0.11,-0.13,-0.13,-0.13,-0.13,-0.14,-0.12,-0.13,-0.13,-0.14,-0.13,-0.14,-0.14,-0.15,-0.14,-0.15,-0.14,-0.15,-0.14,-0.16,-0.15,-0.15,-0.16,-0.16,-0.15,-0.15,-0.14,-0.13,-0.15,-0.15,-0.14,-0.13,-0.14,-0.14,-0.13,-0.13,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.11,-0.10,-0.10,-0.10,-0.10,-0.10,-0.09,-0.09,-0.09,-0.09,-0.09,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,//2
				0.00,0.00,0.00,-0.11,-0.10,-0.09,-0.09,-0.11,-0.10,-0.12,-0.12,-0.12,-0.11,-0.12,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.14,-0.14,-0.13,-0.13,-0.14,-0.13,-0.14,-0.16,-0.15,-0.16,-0.15,-0.16,-0.15,-0.14,-0.16,-0.15,-0.17,-0.16,-0.16,-0.17,-0.17,-0.16,-0.15,-0.15,-0.17,-0.16,-0.15,-0.14,-0.15,-0.15,-0.15,-0.14,-0.14,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.13,-0.12,-0.12,-0.12,-0.10,-0.10,-0.10,-0.11,-0.10,-0.09,-0.09,-0.09,-0.08,-0.07,-0.07,-0.07,-0.06,-0.05,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.03,-0.03,-0.03,//2.2
				0.00,0.00,0.00,-0.11,-0.10,-0.11,-0.11,-0.11,-0.12,-0.12,-0.12,-0.12,-0.13,-0.12,-0.13,-0.13,-0.13,-0.13,-0.13,-0.13,-0.14,-0.14,-0.15,-0.13,-0.14,-0.15,-0.14,-0.16,-0.15,-0.16,-0.15,-0.16,-0.15,-0.16,-0.16,-0.15,-0.17,-0.16,-0.16,-0.17,-0.17,-0.16,-0.17,-0.17,-0.17,-0.18,-0.17,-0.16,-0.16,-0.15,-0.15,-0.16,-0.16,-0.16,-0.16,-0.15,-0.15,-0.15,-0.15,-0.15,-0.12,-0.12,-0.12,-0.12,-0.12,-0.11,-0.11,-0.11,-0.11,-0.10,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.05,-0.06,-0.05,-0.05,-0.04,-0.04,-0.04,-0.03,//2.4
				0.00,0.00,0.00,-0.13,-0.12,-0.11,-0.11,-0.13,-0.12,-0.12,-0.14,-0.14,-0.13,-0.14,-0.13,-0.13,-0.15,-0.15,-0.15,-0.13,-0.14,-0.14,-0.15,-0.15,-0.14,-0.15,-0.14,-0.16,-0.17,-0.16,-0.17,-0.16,-0.15,-0.16,-0.16,-0.17,-0.17,-0.16,-0.18,-0.17,-0.17,-0.18,-0.17,-0.17,-0.18,-0.18,-0.19,-0.18,-0.18,-0.17,-0.17,-0.16,-0.16,-0.16,-0.16,-0.15,-0.15,-0.15,-0.15,-0.15,-0.14,-0.14,-0.14,-0.13,-0.12,-0.12,-0.13,-0.11,-0.11,-0.11,-0.10,-0.10,-0.09,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,//2.6
				0.00,0.00,0.00,-0.13,-0.12,-0.13,-0.13,-0.13,-0.12,-0.14,-0.14,-0.14,-0.15,-0.14,-0.15,-0.15,-0.15,-0.15,-0.15,-0.15,-0.16,-0.14,-0.15,-0.15,-0.16,-0.15,-0.16,-0.16,-0.17,-0.16,-0.17,-0.16,-0.17,-0.16,-0.16,-0.17,-0.17,-0.16,-0.18,-0.17,-0.17,-0.18,-0.17,-0.17,-0.19,-0.18,-0.19,-0.19,-0.20,-0.19,-0.19,-0.18,-0.18,-0.18,-0.18,-0.17,-0.17,-0.17,-0.17,-0.17,-0.16,-0.14,-0.14,-0.14,-0.14,-0.13,-0.13,-0.13,-0.13,-0.11,-0.11,-0.10,-0.10,-0.09,-0.09,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.04,//2.8
				0.00,0.00,0.00,-0.15,-0.14,-0.13,-0.13,-0.15,-0.14,-0.14,-0.14,-0.14,-0.15,-0.14,-0.15,-0.15,-0.15,-0.15,-0.15,-0.15,-0.16,-0.16,-0.15,-0.15,-0.16,-0.15,-0.16,-0.16,-0.17,-0.16,-0.17,-0.16,-0.17,-0.16,-0.18,-0.17,-0.17,-0.18,-0.18,-0.17,-0.19,-0.18,-0.17,-0.17,-0.19,-0.18,-0.19,-0.19,-0.20,-0.19,-0.21,-0.20,-0.20,-0.20,-0.20,-0.19,-0.18,-0.17,-0.17,-0.17,-0.16,-0.16,-0.16,-0.15,-0.14,-0.14,-0.15,-0.13,-0.13,-0.13,-0.12,-0.11,-0.11,-0.10,-0.09,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.04 //3
    	    };
		#endregion
#endregion

#region RadiusDelta
		#region RadiusDeltaStrength10
		private static readonly int[] PlayerDelta10 = new[]
            {
				0,0,21,10,6,4,3,2,2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
				0,0,45,21,12,9,6,5,4,3,2,2,2,2,2,2,2,1,2,2,2,1,1,1,2,2,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,//0.4
				0,0,74,33,19,13,10,8,6,4,4,4,4,3,3,3,3,2,3,2,3,2,2,2,3,2,2,2,2,2,2,2,1,2,2,2,2,1,1,1,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,//0.6
				0,0,112,47,27,18,13,11,9,6,6,5,5,4,4,4,4,3,4,3,4,3,2,2,3,3,3,2,2,3,3,2,2,2,2,3,3,2,1,2,2,2,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,//0.8
				0,0,160,63,35,24,17,13,11,8,7,7,6,5,5,5,6,4,4,4,5,4,3,3,4,4,4,3,3,3,3,3,3,3,3,3,3,2,2,2,3,3,3,2,2,2,2,2,2,2,1,1,1,1,2,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,//1
				0,0,225,83,45,30,21,17,14,9,9,8,8,6,6,6,7,5,5,5,5,5,4,3,5,5,4,4,3,4,4,4,4,3,3,4,4,3,3,3,3,3,3,2,2,2,2,2,3,2,2,2,2,2,2,1,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-2,-3,-3,//1.2
				0,0,319,105,55,36,26,20,16,11,10,10,9,7,7,7,8,6,6,6,6,6,5,4,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,3,4,4,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-2,-2,-2,-3,-4,//1.4
				0,0,463,133,67,43,30,23,19,13,12,12,11,9,8,8,9,7,7,6,7,7,6,5,6,6,6,6,5,5,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,3,4,3,4,3,3,2,2,2,2,2,2,2,2,2,1,1,1,1,0,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,-2,-3,-4,-4,//1.6
				0,0,715,168,81,51,35,27,22,15,14,13,13,10,9,9,10,9,8,7,8,8,7,6,6,6,6,6,6,5,5,6,6,6,5,5,5,5,5,5,4,4,5,4,4,4,4,3,4,3,3,3,3,2,2,2,2,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,-2,-2,-3,-4,-5,//1.8
				0,0,-219,212,97,59,41,31,25,17,16,15,14,12,10,10,11,10,9,8,9,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,6,5,5,5,5,5,5,4,5,4,4,4,4,4,3,3,3,3,3,3,2,3,2,2,2,1,1,1,1,1,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-2,-2,-3,-3,-4,-5,-5,//2
				0,0,-219,270,115,68,47,35,28,19,18,17,16,13,11,11,12,11,10,9,10,9,9,8,8,8,8,8,8,7,7,7,7,7,7,7,6,5,6,6,6,6,5,5,5,4,5,4,4,4,3,4,3,3,3,3,3,3,2,2,2,2,1,1,1,0,0,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-2,-2,-3,-3,-3,-4,-5,-6,//2.2
				0,0,-219,350,137,79,53,39,31,21,19,18,18,15,12,12,13,12,11,10,10,10,10,9,9,8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,5,6,5,5,5,5,5,4,4,3,3,4,3,3,3,3,2,2,2,1,1,1,1,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-2,-3,-3,-3,-3,-4,-4,-6,-7,//2.4
				0,0,-219,469,164,91,60,44,35,24,21,20,19,16,14,14,14,13,13,11,11,11,10,10,10,9,9,9,9,9,8,8,8,8,8,8,8,6,7,7,7,7,7,6,6,6,5,5,5,5,5,4,4,4,4,3,3,3,3,3,2,2,1,1,1,1,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-3,-3,-3,-3,-4,-4,-5,-6,-7,//2.6
				0,0,-219,661,196,104,67,49,38,27,23,22,21,18,15,15,16,14,14,12,12,12,11,11,11,10,10,10,10,9,9,9,8,9,9,9,8,7,7,7,8,8,8,6,6,6,6,6,6,5,5,4,4,4,4,4,4,4,3,3,2,2,2,1,1,1,0,0,0,0,0,-1,-1,-2,-2,-2,-3,-3,-3,-4,-4,-4,-4,-5,-7,-8,//2.8
				0,0,-219,-158,236,119,76,54,42,30,26,24,23,20,17,16,17,15,15,13,13,12,12,12,12,11,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,7,7,7,6,6,7,5,5,5,5,4,4,4,4,4,3,3,3,2,2,1,1,0,0,0,0,0,0,-1,-2,-2,-2,-3,-3,-3,-4,-4,-4,-4,-5,-6,-7,-8//3
            };

		private static readonly int[] PlayerMinusDelta10 = new[]
            {
                0,0,-16,-9,-6,-3,-3,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,0,0,0,-1,0,-1,-1,-1,-1,0,0,-1,-1,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
                0,0,-31,-16,-11,-7,-6,-5,-3,-3,-3,-3,-2,-2,-2,-3,-2,-2,-1,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,-1,0,-1,0,0,0,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,//0.4
                0,0,-44,-23,-15,-10,-8,-7,-5,-5,-5,-5,-3,-3,-3,-4,-2,-3,-2,-3,-2,-2,-2,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-2,-2,-2,-2,-1,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,//0.6
                0,0,-55,-30,-19,-13,-11,-9,-6,-6,-6,-6,-4,-4,-4,-5,-3,-3,-3,-4,-3,-3,-3,-3,-3,-3,-2,-2,-3,-3,-2,-2,-2,-2,-2,-2,-2,-3,-3,-2,-2,-2,-2,-3,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,//0.8
                0,0,-64,-35,-23,-16,-13,-11,-8,-7,-7,-7,-5,-5,-5,-6,-4,-4,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-3,-3,-3,-2,-2,-2,-3,-2,-2,-2,-2,-1,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,//1
                0,0,-73,-41,-27,-19,-15,-13,-9,-8,-8,-8,-6,-6,-6,-6,-5,-5,-5,-5,-4,-4,-4,-5,-4,-4,-4,-4,-4,-4,-3,-3,-4,-3,-3,-3,-3,-4,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,2,2,3,//1.2
                0,0,-81,-46,-31,-22,-18,-15,-10,-9,-9,-9,-7,-7,-7,-7,-5,-6,-5,-6,-5,-5,-5,-6,-4,-4,-4,-5,-4,-4,-4,-4,-4,-4,-4,-3,-3,-4,-4,-4,-3,-3,-3,-4,-3,-3,-3,-3,-2,-2,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,//1.4
                0,0,-88,-50,-34,-25,-20,-17,-10,-10,-10,-9,-7,-7,-7,-8,-6,-7,-6,-6,-5,-6,-6,-6,-5,-5,-5,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-5,-4,-4,-4,-4,-3,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,4,//1.6
                0,0,-94,-54,-37,-27,-22,-18,-11,-11,-11,-10,-8,-8,-8,-8,-7,-7,-7,-7,-6,-6,-7,-7,-6,-6,-6,-6,-5,-5,-5,-5,-5,-5,-5,-5,-4,-5,-5,-5,-5,-4,-4,-5,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,1,1,1,1,2,2,3,4,4,//1.8
                0,0,-100,-58,-40,-29,-24,-19,-12,-12,-11,-10,-8,-8,-8,-9,-7,-7,-7,-8,-7,-7,-7,-7,-6,-6,-6,-6,-6,-6,-6,-6,-6,-5,-5,-5,-5,-6,-5,-5,-5,-5,-4,-5,-5,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,0,0,1,1,1,2,2,3,3,4,5,//2
                0,0,-105,-62,-43,-32,-26,-20,-13,-13,-12,-11,-9,-9,-9,-9,-7,-8,-7,-8,-8,-8,-8,-8,-7,-7,-7,-7,-7,-7,-7,-6,-6,-6,-6,-6,-5,-6,-6,-6,-5,-5,-5,-6,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-4,-3,-4,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,0,0,0,0,0,0,1,1,1,2,2,3,3,5,5,//2.2
                0,0,-110,-66,-46,-34,-28,-21,-14,-14,-13,-11,-9,-9,-9,-10,-8,-8,-8,-8,-8,-8,-8,-8,-7,-8,-7,-7,-7,-7,-7,-7,-7,-7,-6,-6,-6,-7,-7,-6,-6,-6,-5,-6,-6,-5,-5,-5,-4,-4,-5,-4,-4,-4,-4,-4,-4,-3,-4,-3,-3,-3,-3,-3,-2,-2,-2,-2,-1,-2,-1,-1,0,0,0,0,1,1,1,2,2,2,3,4,5,6,//2.4
                0,0,-114,-69,-48,-36,-29,-21,-15,-14,-14,-12,-10,-10,-10,-10,-8,-8,-8,-9,-8,-8,-8,-9,-8,-8,-8,-8,-8,-8,-7,-7,-7,-7,-7,-7,-6,-7,-7,-7,-6,-6,-6,-7,-6,-6,-6,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-1,-1,0,0,0,0,1,1,1,2,2,3,3,4,5,6,//2.6
                0,0,-119,-72,-50,-38,-31,-22,-16,-15,-15,-12,-10,-10,-11,-10,-8,-9,-8,-9,-8,-8,-9,-9,-9,-9,-8,-8,-8,-8,-8,-8,-8,-8,-7,-7,-7,-8,-7,-7,-7,-7,-6,-7,-7,-6,-6,-6,-5,-5,-6,-5,-5,-5,-5,-4,-5,-4,-4,-4,-4,-3,-3,-3,-3,-3,-2,-2,-2,-2,-1,-1,0,0,0,0,1,1,2,2,2,3,4,4,6,6,//2.8
                0,0,-123,-75,-53,-40,-32,-23,-17,-16,-15,-13,-11,-11,-11,-10,-9,-9,-9,-10,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-8,-8,-8,-8,-8,-8,-8,-8,-8,-7,-7,-7,-8,-7,-6,-6,-6,-6,-6,-6,-6,-5,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-3,-3,-3,-2,-2,-2,-2,-1,-1,0,0,0,1,1,2,2,3,3,4,5,6,6 //3
            };
        #endregion

		#region RadiusDeltaStrength9
		private static readonly int[] PlayerDelta9 = new[]
            {
				0,0,50,16,8,5,4,2,2,2,1,2,1,1,1,1,1,1,1,1,0,1,1,0,0,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
				0,0,120,35,17,11,7,5,5,4,3,3,2,3,3,2,2,2,2,1,1,2,2,1,1,1,2,2,2,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,0,0,//0.4
				0,0,222,57,28,17,12,8,7,6,5,4,4,4,4,3,3,3,3,2,2,3,3,2,2,2,3,3,2,1,2,3,2,2,2,2,2,1,1,2,2,2,1,1,2,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-1,-1,//0.6
				0,0,389,85,39,24,16,12,9,8,7,6,5,5,5,4,4,4,4,3,3,4,3,3,2,3,4,3,3,2,2,3,2,2,2,3,3,2,2,2,2,3,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-2,-2,-2,-1,//0.8
				0,0,-316,120,53,31,21,15,11,10,9,7,6,7,7,6,5,5,5,4,4,5,4,4,3,3,4,4,4,3,3,4,3,3,3,3,3,2,2,3,3,3,2,2,3,2,2,2,2,1,1,1,2,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,-3,-2,-1,//1
				0,0,-316,165,68,39,26,19,14,12,11,9,8,8,8,7,6,6,6,5,4,5,5,5,4,4,5,5,5,3,3,5,4,4,3,4,4,3,3,3,3,4,3,3,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,-2,-3,-4,-3,-2,//1.2
				0,0,-316,226,86,48,31,23,16,14,13,11,9,9,9,8,7,7,8,7,6,6,6,6,5,5,6,6,6,4,4,5,4,4,4,4,4,4,4,4,4,4,3,4,4,3,3,3,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-2,-2,-3,-4,-4,-2,//1.4
				0,0,-316,313,108,58,37,27,19,17,15,13,11,11,11,10,8,8,9,8,7,7,7,7,6,6,6,6,6,5,5,6,5,5,5,5,5,4,4,4,4,5,4,4,4,3,3,3,3,3,2,2,3,2,2,2,2,2,1,1,1,1,1,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-2,-3,-3,-4,-5,-4,-3,//1.6
				0,0,-316,446,134,69,44,31,22,19,17,15,12,12,12,11,9,9,10,9,8,8,8,7,7,6,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,4,5,5,4,4,3,3,3,3,3,3,3,2,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-3,-3,-3,-3,-4,-6,-5,-3,//1.8
				0,0,-316,676,166,82,51,36,25,22,20,17,13,14,14,13,11,10,11,10,9,9,8,8,8,7,8,8,8,7,7,7,6,6,6,6,6,5,6,6,6,6,5,5,5,4,5,4,4,3,3,3,3,3,2,3,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-3,-3,-3,-4,-4,-5,-6,-6,-4,//2
				0,0,-316,-190,207,97,59,41,28,24,22,19,15,15,15,14,12,11,12,11,10,10,9,9,9,8,9,8,8,7,7,8,7,7,7,7,7,6,6,6,6,6,5,5,6,5,5,4,4,4,4,3,4,3,3,3,3,2,2,2,1,1,1,0,0,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-3,-3,-3,-4,-4,-4,-5,-7,-7,-5,//2.2
				0,0,-316,-190,261,114,68,47,32,27,25,22,17,17,17,16,13,12,13,12,11,11,10,10,10,9,10,9,9,8,8,9,7,7,8,8,8,7,6,7,7,7,6,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,2,2,2,1,1,0,0,0,0,0,0,-1,-1,-1,-2,-2,-2,-3,-3,-3,-4,-4,-5,-5,-6,-8,-7,-5,//2.4
				0,0,-316,-190,336,135,78,53,36,30,27,24,19,18,18,17,15,14,14,13,12,12,11,11,11,10,11,10,10,9,9,10,8,8,8,8,8,7,7,7,8,8,7,7,7,6,6,5,5,5,4,4,4,4,3,3,3,3,2,2,2,1,1,1,0,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-3,-4,-4,-4,-5,-5,-6,-8,-8,-6,//2.6
				0,0,-316,-190,445,159,89,59,40,33,30,26,21,20,20,19,16,15,15,14,13,13,12,11,11,11,12,11,10,10,10,11,9,9,9,9,9,8,8,8,8,8,7,7,7,7,6,6,5,5,4,5,5,4,3,4,3,3,3,2,2,1,1,1,0,0,0,0,0,-1,-1,-2,-2,-3,-3,-3,-4,-4,-5,-5,-5,-6,-7,-9,-9,-7,//2.8
				0,0,-316,-190,621,189,102,66,45,36,33,29,24,21,21,20,18,17,16,15,15,15,13,12,12,12,13,12,11,10,10,11,10,10,9,10,10,9,9,8,8,9,8,8,8,7,7,6,6,6,5,5,5,4,4,4,4,3,3,2,2,2,1,1,0,0,0,0,0,-1,-2,-2,-3,-3,-3,-4,-4,-5,-5,-5,-6,-6,-8,-10,-10,-7 //3
            };

		private static readonly int[] PlayerMinusDelta9 = new[]
            {
                0,0,-38,-14,-7,-4,-4,-3,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,-1,-1,0,-1,-1,-1,-1,0,-1,-1,-1,0,0,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,//0.2
                0,0,-68,-26,-14,-9,-7,-6,-3,-4,-4,-2,-3,-3,-2,-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-2,-2,-1,-1,-1,-1,-1,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,//0.4
                0,0,-92,-36,-20,-13,-10,-8,-5,-5,-5,-4,-4,-4,-3,-2,-3,-3,-2,-3,-3,-3,-2,-2,-3,-3,-2,-2,-1,-3,-2,-1,-2,-2,-2,-2,-1,-2,-2,-2,-1,-1,-2,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,//0.6
                0,0,-111,-45,-25,-17,-13,-10,-7,-7,-6,-5,-5,-5,-4,-3,-4,-4,-3,-3,-4,-3,-3,-3,-3,-4,-2,-2,-2,-3,-3,-2,-3,-3,-2,-2,-2,-3,-3,-2,-2,-2,-3,-2,-2,-1,-1,-2,-1,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,2,2,1,2,2,1,1,//0.8
                0,0,-128,-53,-30,-20,-15,-12,-9,-8,-8,-6,-7,-6,-5,-4,-5,-5,-4,-4,-5,-4,-4,-4,-4,-4,-3,-3,-3,-4,-4,-2,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,1,1,//1
                0,0,-142,-61,-35,-24,-18,-13,-10,-9,-9,-7,-8,-7,-6,-5,-6,-6,-5,-5,-6,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-3,-4,-4,-3,-3,-3,-4,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-1,-1,-2,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,3,3,2,1,//1.2
                0,0,-154,-67,-39,-27,-21,-14,-11,-11,-9,-8,-8,-8,-7,-6,-7,-6,-6,-6,-6,-5,-5,-6,-5,-5,-4,-4,-4,-5,-5,-4,-5,-4,-4,-4,-4,-4,-4,-4,-4,-3,-4,-4,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,1,1,1,2,3,3,3,3,3,2,1,//1.4
                0,0,-165,-74,-43,-30,-23,-15,-12,-12,-10,-8,-9,-9,-8,-7,-8,-7,-6,-7,-7,-6,-6,-6,-6,-6,-5,-5,-5,-6,-5,-4,-5,-5,-5,-5,-4,-5,-5,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-3,-2,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,1,1,1,2,2,3,3,3,4,3,2,1,//1.6
                0,0,-174,-79,-47,-33,-25,-16,-13,-13,-11,-9,-10,-9,-8,-8,-8,-8,-7,-8,-8,-7,-7,-7,-7,-7,-6,-6,-5,-6,-6,-5,-6,-5,-5,-5,-5,-5,-5,-5,-5,-4,-5,-5,-4,-4,-3,-4,-4,-3,-4,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,0,0,0,0,0,0,1,1,1,2,2,3,3,3,4,4,2,1,//1.8
                0,0,-182,-84,-51,-36,-27,-18,-14,-14,-11,-10,-10,-10,-8,-8,-9,-9,-8,-8,-8,-7,-8,-7,-7,-7,-6,-6,-6,-7,-7,-5,-6,-6,-6,-5,-5,-6,-6,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,1,1,1,2,3,3,4,4,5,4,2,1,//2
                0,0,-190,-89,-54,-38,-28,-19,-15,-15,-12,-10,-11,-10,-9,-8,-9,-9,-8,-9,-9,-8,-8,-8,-8,-8,-7,-7,-7,-8,-7,-6,-7,-7,-6,-6,-6,-7,-6,-6,-6,-5,-6,-6,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,1,1,2,2,3,4,4,4,5,4,2,1,//2.2
                0,0,-196,-93,-57,-41,-29,-20,-16,-15,-13,-11,-11,-11,-9,-9,-10,-10,-9,-9,-10,-9,-9,-9,-9,-9,-7,-7,-7,-8,-8,-7,-7,-7,-7,-7,-6,-7,-7,-6,-6,-6,-6,-6,-5,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-2,-2,-2,-2,-1,-1,-1,-1,0,0,0,0,1,1,2,2,3,4,4,5,6,5,3,1,//2.4
                0,0,-202,-97,-60,-43,-30,-21,-17,-16,-13,-12,-12,-11,-10,-9,-10,-10,-9,-9,-10,-10,-10,-9,-10,-9,-8,-8,-8,-9,-8,-7,-8,-8,-7,-7,-7,-8,-7,-7,-7,-6,-7,-7,-6,-6,-5,-6,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-4,-3,-3,-3,-2,-2,-2,-2,-1,-1,-1,0,0,0,0,1,1,2,3,3,4,5,5,6,5,3,1,//2.6
                0,0,-208,-101,-63,-45,-32,-22,-18,-16,-14,-12,-13,-11,-10,-10,-11,-10,-9,-10,-10,-10,-10,-10,-10,-10,-9,-9,-8,-9,-9,-8,-9,-8,-8,-8,-7,-8,-8,-8,-7,-7,-7,-7,-6,-6,-6,-6,-6,-5,-6,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-3,-3,-3,-2,-2,-2,-1,-1,-1,-1,0,0,0,1,2,2,3,4,5,5,6,6,5,3,1,//2.8
                0,0,-213,-104,-66,-47,-33,-23,-19,-17,-14,-13,-13,-12,-10,-10,-11,-10,-10,-10,-11,-10,-10,-10,-10,-10,-9,-9,-9,-10,-10,-8,-9,-9,-9,-8,-8,-9,-8,-8,-8,-7,-8,-8,-7,-7,-6,-6,-6,-6,-6,-6,-5,-5,-5,-5,-5,-5,-5,-4,-4,-4,-3,-3,-3,-2,-2,-2,-1,-1,-1,0,0,0,1,2,2,3,4,5,6,6,7,5,3,0 //3
            };
        #endregion

		#region RadiusDeltaStrength8
		private static readonly int[] PlayerDelta8 = new[]
            {
				0,0,0,30,12,6,5,3,3,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
				0,0,0,69,25,13,9,6,5,5,4,3,4,3,3,2,2,2,2,2,2,2,2,2,1,2,2,2,1,1,1,1,1,2,2,1,1,2,2,1,1,2,1,1,0,0,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,0,0,0,0,//0.4
				0,0,0,120,41,21,14,9,8,7,6,5,5,4,4,4,3,3,3,4,3,3,3,3,2,3,3,3,2,2,2,2,2,2,3,2,2,2,2,2,2,2,1,2,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,//0.6
				0,0,0,193,60,30,20,12,11,10,8,7,7,5,5,5,5,4,4,5,4,4,3,4,3,4,4,4,2,2,3,3,3,3,3,2,2,3,3,2,2,3,2,2,2,2,2,1,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-2,-2,-2,-2,-1,0,0,0,//0.8
				0,0,0,302,82,40,26,16,14,12,10,9,9,7,7,6,6,5,5,6,5,4,4,5,4,4,5,5,3,3,3,4,4,3,4,3,3,3,3,3,3,3,2,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-3,-3,-2,-2,0,0,0,//1
				0,0,0,488,110,51,32,20,17,15,12,11,11,9,8,8,7,6,6,7,6,5,5,6,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,3,4,4,3,3,3,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-3,-3,-4,-3,-2,-1,0,0,//1.2
				0,0,0,-239,145,64,39,24,20,18,14,13,13,10,9,9,9,7,7,8,7,7,6,7,6,6,6,6,5,5,5,5,5,5,5,4,4,5,5,4,4,4,4,4,3,3,3,3,3,3,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-3,-3,-3,-4,-4,-4,-3,-1,0,0,//1.4
				0,0,0,-239,191,79,47,28,24,21,16,15,14,12,11,11,10,9,8,9,8,8,7,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,4,5,5,4,4,4,4,4,3,3,3,3,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-3,-4,-5,-5,-5,-3,-2,0,0,//1.6
				0,0,0,-239,254,97,55,33,28,24,19,17,16,14,12,12,12,10,10,10,10,9,8,9,8,8,8,8,7,7,7,6,6,7,7,6,6,6,6,5,5,6,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-3,-4,-5,-5,-6,-6,-4,-2,0,0,//1.8
				0,0,0,-239,345,118,65,38,32,27,22,19,19,16,14,13,13,12,11,11,11,10,9,10,9,9,9,8,7,8,7,7,7,7,7,6,6,6,7,6,6,6,5,6,5,5,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,1,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-3,-3,-4,-4,-4,-5,-6,-7,-6,-4,-2,0,0,//2
				0,0,0,-239,489,144,76,45,36,31,25,21,21,18,16,15,15,13,13,12,12,11,10,11,9,10,10,9,8,8,8,8,8,8,8,7,7,7,7,7,7,7,6,6,5,5,5,5,4,4,4,3,3,3,2,2,2,2,2,1,1,1,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-3,-3,-4,-4,-5,-6,-7,-7,-7,-5,-3,-1,0,//2.2
				0,0,0,-239,751,177,89,52,41,35,28,23,23,20,18,16,16,15,14,13,13,12,12,12,10,11,11,11,9,9,9,9,9,9,9,8,8,8,8,7,7,7,6,7,6,5,5,5,5,5,4,4,3,3,3,3,2,2,2,1,1,1,0,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-4,-4,-5,-6,-6,-7,-8,-8,-6,-3,-1,0,//2.4
				0,0,0,-239,-155,218,103,59,46,39,31,26,25,22,20,18,17,16,16,15,14,14,13,13,11,12,12,12,10,10,10,10,10,9,9,9,9,9,8,8,8,8,7,7,7,6,6,5,5,5,5,4,4,4,3,3,3,2,2,1,1,1,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-4,-4,-5,-5,-6,-7,-8,-9,-9,-7,-4,-1,0,//2.6
				0,0,0,-239,-155,273,120,68,51,43,35,28,27,25,22,19,19,18,17,16,15,15,14,14,12,13,13,13,11,11,11,11,11,10,10,9,9,9,9,8,9,9,8,8,7,7,6,6,6,5,5,4,4,4,3,3,3,3,2,2,1,1,0,0,0,0,-1,-1,-1,-2,-2,-3,-3,-4,-5,-5,-6,-7,-7,-9,-10,-10,-8,-4,-1,0,//2.8
				0,0,0,-239,-155,350,141,78,57,47,39,31,30,27,24,21,20,19,19,18,16,16,15,15,14,14,14,14,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,9,8,7,7,6,6,6,5,5,5,4,3,3,3,3,2,2,1,1,0,0,0,-1,-1,-2,-2,-2,-3,-3,-4,-5,-5,-6,-6,-7,-8,-9,-10,-11,-8,-5,-2,0 //3

            };

		private static readonly int[] PlayerMinusDelta8 = new[]
            {
                0,0,0,-24,-10,-6,-3,-3,-2,-2,-1,-2,-1,-1,-1,-2,-1,-2,-1,-1,-1,-1,-1,0,-1,0,-1,0,-1,-1,-1,-1,-1,0,0,-1,-1,0,0,-1,0,0,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
                0,0,0,-43,-19,-12,-7,-6,-5,-3,-3,-3,-2,-2,-3,-3,-2,-3,-2,-1,-2,-2,-2,-1,-2,-1,-1,-1,-2,-2,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,//0.4
                0,0,0,-60,-27,-17,-11,-8,-7,-5,-5,-5,-4,-4,-4,-4,-3,-4,-3,-2,-3,-3,-3,-2,-3,-2,-2,-2,-3,-3,-2,-2,-2,-2,-1,-2,-2,-1,-1,-2,-2,-1,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,//0.6
                0,0,0,-74,-34,-21,-14,-10,-9,-7,-6,-7,-5,-5,-5,-5,-4,-5,-4,-3,-4,-4,-4,-3,-4,-3,-3,-2,-3,-3,-3,-3,-3,-2,-2,-3,-2,-2,-2,-3,-2,-2,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,1,1,1,0,0,-1,//0.8
                0,0,0,-86,-41,-26,-17,-12,-11,-8,-8,-8,-6,-6,-6,-6,-5,-6,-5,-4,-4,-5,-4,-4,-5,-3,-3,-3,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-2,-3,-3,-2,-3,-2,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-2,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,1,1,0,0,-1,//1
                0,0,0,-96,-47,-29,-19,-14,-12,-10,-9,-9,-7,-7,-7,-7,-6,-7,-6,-5,-5,-5,-5,-4,-5,-4,-4,-4,-5,-4,-4,-4,-4,-3,-3,-4,-4,-3,-3,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,1,1,2,2,2,3,3,2,1,1,0,0,-1,//1.2
                0,0,0,-105,-52,-33,-21,-15,-13,-11,-10,-10,-8,-9,-8,-8,-7,-8,-7,-6,-6,-6,-6,-5,-6,-5,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-3,-4,-4,-3,-4,-3,-4,-3,-3,-3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-1,-2,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,2,2,2,3,4,3,3,2,1,0,-1,-2,//1.4
                0,0,0,-113,-57,-37,-22,-17,-15,-11,-11,-11,-9,-9,-9,-9,-8,-8,-8,-7,-7,-7,-7,-6,-7,-6,-6,-5,-6,-6,-6,-5,-5,-5,-4,-5,-5,-4,-4,-5,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-2,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,3,2,1,0,-1,-2,//1.6
                0,0,0,-120,-61,-40,-24,-18,-16,-12,-11,-12,-10,-10,-10,-10,-9,-9,-9,-8,-8,-8,-8,-7,-7,-6,-6,-6,-7,-7,-6,-6,-6,-5,-5,-6,-5,-5,-5,-5,-5,-4,-5,-5,-5,-4,-4,-4,-3,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,0,0,1,1,2,3,3,4,5,4,3,2,1,0,-1,-2,//1.8
                0,0,0,-127,-66,-43,-25,-20,-17,-13,-12,-12,-10,-10,-10,-10,-10,-10,-10,-9,-8,-9,-8,-7,-8,-7,-7,-7,-7,-7,-7,-7,-6,-6,-6,-6,-6,-5,-5,-6,-5,-5,-5,-5,-5,-5,-4,-4,-4,-4,-3,-3,-3,-3,-3,-3,-3,-2,-2,-2,-2,-1,-1,-1,-1,-1,0,0,0,0,0,1,1,2,2,3,4,4,5,4,3,2,1,0,-1,-3,//2
                0,0,0,-133,-70,-45,-27,-21,-18,-14,-13,-13,-11,-11,-11,-11,-10,-11,-10,-9,-9,-9,-9,-8,-9,-8,-7,-7,-8,-8,-7,-7,-7,-6,-6,-7,-6,-6,-6,-6,-6,-5,-6,-6,-6,-5,-5,-5,-4,-4,-4,-4,-4,-3,-4,-3,-3,-3,-3,-3,-2,-2,-2,-1,-1,-1,0,0,0,0,0,1,1,2,3,3,4,5,5,5,3,2,1,0,-2,-3,//2.2
                0,0,0,-138,-73,-47,-28,-22,-18,-14,-14,-13,-11,-11,-12,-11,-11,-11,-11,-10,-10,-10,-10,-9,-10,-8,-8,-8,-9,-8,-8,-8,-7,-7,-7,-7,-7,-7,-6,-7,-6,-6,-6,-6,-6,-6,-5,-5,-5,-4,-4,-4,-4,-4,-4,-3,-3,-3,-3,-3,-2,-2,-2,-1,-1,-1,0,0,0,0,0,1,1,2,3,4,4,5,6,5,3,2,1,0,-2,-4,//2.4
                0,0,0,-143,-77,-49,-30,-24,-19,-15,-14,-14,-12,-12,-12,-11,-11,-12,-11,-10,-11,-11,-11,-10,-10,-9,-9,-9,-9,-9,-9,-8,-8,-8,-7,-8,-8,-7,-7,-7,-7,-6,-7,-7,-7,-6,-6,-6,-5,-5,-5,-5,-4,-4,-4,-4,-4,-3,-3,-3,-3,-2,-2,-2,-1,-1,-1,0,0,0,0,1,1,2,3,4,5,6,6,5,4,2,1,0,-2,-4,//2.6
                0,0,0,-148,-80,-50,-31,-25,-20,-16,-15,-14,-12,-12,-12,-12,-11,-12,-12,-11,-11,-11,-11,-10,-11,-10,-10,-9,-10,-10,-9,-9,-9,-8,-8,-9,-8,-8,-7,-8,-7,-7,-8,-7,-7,-7,-6,-6,-6,-5,-5,-5,-5,-4,-5,-4,-4,-4,-4,-3,-3,-2,-2,-2,-1,-1,-1,0,0,0,0,1,1,3,4,4,5,6,6,5,4,2,1,-1,-3,-5,//2.8
                0,0,0,-152,-83,-52,-33,-26,-21,-17,-16,-15,-13,-13,-13,-12,-12,-12,-12,-11,-11,-12,-12,-11,-12,-11,-10,-10,-11,-10,-10,-10,-9,-9,-9,-9,-9,-8,-8,-8,-8,-8,-8,-8,-8,-7,-7,-7,-6,-6,-6,-5,-5,-5,-5,-5,-4,-4,-4,-4,-3,-3,-3,-2,-2,-1,-1,0,0,0,0,1,1,3,4,5,6,6,6,5,4,2,1,-1,-3,-5 //3

            };
        #endregion

		#region RadiusDeltaStrength7
	 	private static readonly int[] PlayerDelta7 = new[]
            {
                0,0,0,71,17,8,5,4,3,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,0,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
				0,0,0,180,38,17,10,8,6,5,4,3,3,3,3,3,3,2,3,2,2,2,2,2,2,2,2,1,1,1,2,2,1,1,2,2,1,2,1,1,1,1,2,1,1,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,0,0,0,0,-1,-1,-1,-1,0,0,0,0,0,0,0,1,1,//0.4
				0,0,0,372,64,27,15,12,9,8,7,5,5,5,4,4,4,3,4,3,3,3,3,3,3,3,3,2,2,2,2,3,2,2,2,3,2,2,2,2,1,2,2,2,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,0,-1,-1,-1,-2,-1,-1,-1,0,0,0,0,0,1,1,2,//0.6
				0,0,0,-328,97,39,21,16,12,10,9,7,7,7,6,6,6,4,5,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,2,3,2,2,3,2,2,2,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-2,-2,-2,-2,-1,-1,0,0,0,0,1,2,3,//0.8
				0,0,0,-328,141,53,27,21,16,13,12,9,9,9,7,7,7,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,3,4,4,4,3,4,3,3,3,3,3,3,2,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-2,-2,-3,-3,-2,-2,-1,0,0,0,1,2,3,4,//1
				0,0,0,-328,201,69,35,26,20,16,15,12,11,11,9,9,9,7,7,7,6,7,6,6,6,6,6,5,5,5,5,5,4,4,5,5,4,4,4,4,3,4,4,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-2,-2,-3,-4,-4,-3,-2,-2,-1,0,0,1,2,3,4,//1.2
				0,0,0,-328,291,89,44,32,25,19,18,14,13,13,11,10,10,9,9,8,8,8,7,7,7,7,7,6,6,5,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,-1,-1,-2,-2,-2,-2,-2,-3,-3,-4,-5,-4,-3,-2,-1,0,0,1,2,4,5,//1.4
				0,0,0,-328,436,113,54,38,29,23,21,17,15,15,13,12,12,11,10,9,9,9,9,8,8,8,7,7,7,6,6,7,6,6,6,6,5,5,5,5,4,5,5,4,4,4,3,3,3,3,2,2,2,2,1,1,1,1,1,0,0,0,0,0,0,-1,-2,-2,-2,-2,-2,-3,-3,-4,-5,-5,-5,-4,-2,-1,0,0,1,3,4,6,//1.6
				0,0,0,-328,716,144,66,45,35,26,24,20,17,17,15,14,13,12,12,11,10,11,10,9,9,9,9,8,8,8,7,7,7,7,7,7,6,6,5,6,5,5,6,5,5,4,4,3,3,3,3,2,2,2,2,1,1,1,1,0,0,0,0,0,-1,-1,-2,-2,-2,-2,-2,-3,-4,-4,-6,-6,-6,-4,-3,-2,-1,0,1,3,5,7,//1.8
				0,0,0,-328,-174,183,79,53,40,30,27,23,19,19,17,16,15,14,13,12,11,12,11,10,10,10,10,8,8,8,8,8,7,8,8,8,7,7,6,6,6,6,6,6,5,5,4,4,4,3,3,3,2,2,2,2,1,1,1,0,0,0,0,0,-1,-1,-2,-2,-3,-3,-2,-3,-4,-5,-6,-7,-7,-5,-4,-2,-1,0,1,3,5,7,//2
				0,0,0,-328,-174,235,95,61,46,34,31,26,22,21,19,18,16,15,15,14,13,13,13,12,11,11,11,9,9,9,9,9,8,8,8,8,8,8,7,7,6,7,7,6,6,5,5,4,4,4,4,3,3,2,2,2,2,1,1,1,0,0,0,0,-1,-2,-2,-3,-3,-3,-3,-4,-5,-6,-7,-8,-8,-6,-4,-3,-1,0,1,3,5,8,//2.2
				0,0,0,-328,-174,310,113,71,53,39,34,29,25,23,22,20,18,17,17,15,14,14,14,13,12,12,12,11,10,10,10,10,9,9,9,9,8,9,8,8,7,7,8,7,6,6,5,5,5,4,4,3,3,3,2,2,2,1,1,1,0,0,0,-1,-1,-2,-2,-3,-3,-3,-3,-4,-5,-6,-8,-9,-9,-7,-5,-3,-2,0,1,3,6,8,//2.4
				0,0,0,-328,-174,425,136,81,60,44,38,33,28,26,24,22,20,18,18,17,15,16,15,15,14,13,13,12,11,11,11,11,10,10,10,10,9,9,9,9,8,8,8,8,7,7,6,5,5,4,4,4,3,3,2,2,2,1,1,1,0,0,0,-1,-1,-2,-3,-3,-4,-4,-4,-5,-6,-7,-8,-9,-9,-8,-6,-4,-2,-1,1,3,6,9,//2.6
				0,0,0,-328,-174,625,164,93,68,50,42,36,32,28,26,24,22,20,20,19,17,17,16,16,15,14,14,13,13,12,12,12,11,11,11,11,10,10,9,9,9,9,9,8,8,7,6,6,6,5,5,4,3,3,3,2,2,2,1,1,0,0,0,-1,-2,-2,-3,-4,-4,-4,-4,-5,-6,-7,-9,-10,-10,-9,-7,-5,-3,-1,1,4,7,10,//2.8
				0,0,0,-328,-174,-121,199,107,77,56,47,40,35,30,28,26,25,22,22,20,19,18,18,17,16,16,15,14,14,13,13,13,12,12,12,12,11,11,10,10,9,9,9,9,8,8,7,6,6,5,5,4,4,3,3,2,2,2,1,1,0,0,0,-1,-2,-3,-3,-4,-4,-5,-5,-6,-7,-8,-10,-11,-11,-10,-7,-5,-3,-1,0,4,7,10 //3
            };

		private static readonly int[] PlayerMinusDelta7 = new[]
            {
				0,0,0,-49,-14,-8,-4,-3,-2,-2,-2,-2,-2,-2,-1,-2,-1,-2,-1,-1,-2,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,0,-1,0,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//0.2
				0,0,0,-85,-27,-14,-8,-7,-5,-5,-4,-4,-4,-3,-3,-3,-2,-3,-2,-2,-3,-2,-2,-2,-2,-1,-1,-2,-2,-2,-2,-1,-2,-2,-1,-1,-1,-1,-1,-1,-2,-1,-1,-1,-1,0,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,-1,-1,//0.4
				0,0,0,-113,-37,-20,-12,-10,-7,-7,-6,-6,-5,-4,-4,-4,-3,-4,-3,-3,-4,-3,-3,-3,-3,-2,-2,-3,-3,-2,-2,-2,-3,-2,-2,-1,-2,-2,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,-1,-2,-2,//0.6
				0,0,0,-136,-47,-25,-15,-12,-9,-9,-7,-7,-7,-6,-6,-5,-5,-5,-4,-4,-5,-4,-4,-4,-3,-3,-3,-4,-3,-3,-3,-3,-3,-3,-2,-2,-3,-2,-3,-2,-3,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,0,-1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,1,1,0,0,0,0,-1,-2,-2,-3,//0.8
				0,0,0,-154,-55,-30,-17,-14,-11,-11,-9,-9,-8,-7,-7,-6,-6,-6,-5,-6,-6,-4,-4,-4,-4,-4,-4,-4,-4,-4,-4,-3,-4,-3,-3,-3,-3,-3,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,1,1,0,0,0,-1,-1,-2,-3,-4,//1
				0,0,0,-169,-62,-35,-20,-16,-13,-12,-11,-10,-9,-8,-8,-8,-7,-7,-6,-7,-6,-5,-5,-5,-5,-5,-4,-5,-5,-5,-4,-4,-4,-4,-4,-3,-4,-3,-4,-3,-4,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,1,2,2,3,3,2,1,1,0,0,0,-1,-1,-3,-4,-5,//1.2
				0,0,0,-182,-69,-39,-22,-18,-14,-13,-12,-12,-11,-10,-9,-9,-8,-8,-7,-7,-7,-6,-6,-6,-6,-6,-5,-6,-6,-5,-5,-5,-5,-5,-4,-4,-4,-4,-4,-4,-4,-4,-3,-4,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,1,1,1,2,3,3,3,3,2,1,0,0,-1,-1,-2,-4,-5,-6,//1.4
				0,0,0,-193,-75,-41,-24,-20,-15,-14,-13,-12,-12,-11,-10,-10,-9,-9,-8,-8,-8,-7,-7,-7,-7,-6,-6,-7,-6,-6,-6,-5,-6,-5,-5,-5,-5,-4,-5,-4,-5,-4,-4,-4,-4,-3,-4,-3,-3,-3,-2,-2,-2,-2,-2,-1,-2,-1,-1,-1,-1,0,0,0,0,0,0,0,1,1,2,2,3,4,4,3,2,1,0,0,-1,-2,-2,-4,-6,-7,//1.6
				0,0,0,-202,-80,-44,-26,-21,-16,-15,-13,-13,-13,-12,-11,-11,-10,-10,-9,-9,-9,-8,-8,-8,-7,-7,-7,-7,-7,-7,-6,-6,-6,-6,-6,-5,-6,-5,-6,-5,-6,-5,-4,-5,-4,-4,-4,-3,-3,-3,-3,-2,-3,-2,-2,-2,-2,-1,-2,-1,-1,0,0,0,0,0,0,1,1,1,2,2,4,4,4,3,2,1,0,0,-1,-2,-3,-5,-6,-8,//1.8
				0,0,0,-211,-85,-46,-27,-22,-17,-16,-14,-14,-13,-12,-12,-12,-11,-11,-10,-10,-10,-9,-9,-8,-8,-8,-7,-8,-8,-7,-7,-7,-7,-7,-6,-6,-6,-6,-6,-6,-6,-5,-5,-5,-5,-4,-5,-4,-4,-3,-3,-3,-3,-2,-2,-2,-2,-2,-2,-1,-1,0,0,0,0,0,0,1,1,2,2,3,4,5,4,3,2,1,0,0,-1,-2,-4,-6,-7,-9,//2
				0,0,0,-218,-90,-48,-29,-23,-18,-17,-15,-14,-14,-13,-13,-13,-12,-12,-11,-11,-11,-10,-9,-9,-9,-9,-8,-9,-8,-8,-8,-7,-8,-7,-7,-6,-7,-6,-7,-6,-7,-6,-5,-6,-5,-5,-5,-4,-4,-4,-3,-3,-3,-3,-3,-2,-2,-2,-2,-2,-1,0,-1,0,0,0,0,1,1,2,2,3,4,5,4,3,2,1,0,-1,-2,-3,-4,-6,-8,-10,//2.2
				0,0,0,-225,-94,-50,-31,-24,-19,-18,-15,-15,-15,-13,-13,-13,-13,-13,-12,-12,-12,-11,-10,-10,-10,-9,-9,-10,-9,-9,-8,-8,-8,-8,-7,-7,-7,-7,-7,-7,-7,-7,-6,-6,-6,-5,-6,-5,-4,-4,-4,-3,-4,-3,-3,-2,-3,-2,-2,-2,-1,-1,-1,0,0,0,0,1,1,2,3,4,5,5,5,3,2,0,0,-1,-2,-3,-5,-7,-9,-11,//2.4
				0,0,0,-231,-97,-52,-33,-25,-20,-19,-16,-16,-15,-14,-14,-14,-13,-14,-13,-13,-13,-11,-11,-11,-10,-10,-10,-10,-10,-9,-9,-9,-9,-9,-8,-7,-8,-7,-8,-7,-8,-7,-6,-7,-6,-6,-6,-5,-5,-5,-4,-4,-4,-3,-3,-3,-3,-2,-3,-2,-1,-1,-1,0,0,0,0,1,1,2,3,4,5,6,5,3,2,0,0,-1,-3,-4,-5,-8,-10,-12,//2.6
				0,0,0,-236,-99,-54,-34,-26,-21,-19,-17,-16,-15,-14,-14,-14,-13,-14,-14,-13,-13,-12,-12,-11,-11,-11,-10,-11,-11,-10,-10,-9,-10,-9,-9,-8,-9,-8,-8,-8,-8,-8,-7,-7,-7,-6,-6,-6,-5,-5,-4,-4,-4,-4,-3,-3,-3,-2,-3,-2,-1,-1,-1,0,0,0,1,1,2,2,3,4,6,6,5,3,2,0,0,-2,-3,-4,-6,-9,-11,-13,//2.8
				0,0,0,-241,-101,-55,-35,-27,-22,-20,-17,-17,-16,-15,-15,-14,-14,-14,-14,-14,-14,-13,-13,-12,-12,-11,-11,-12,-11,-11,-10,-10,-10,-10,-9,-9,-9,-9,-9,-8,-9,-8,-8,-8,-7,-7,-7,-6,-6,-5,-5,-4,-5,-4,-4,-3,-3,-3,-3,-2,-2,-1,-1,0,0,0,1,1,2,2,3,5,6,6,5,3,1,0,-1,-2,-3,-5,-7,-9,-12,-15 //3
            };
        #endregion

#endregion

#region PlayerRadius
        #region Strength10
        private static readonly int[] PlayerRadius10 = new[]    
            {
                1,1,1,1,1,1,1,1,1,1,//0-9
                1,1,1,1,1,1,1,1,1,1,//10-19
                1,1,1,1,1,1,1,1,1,1,//20-29
                1,1,1,1,1,1,279,220,184,159,//30-39
                141,127,116,106,99,92,86,81,76,72,//40-49
                70,69,67,66,64,63,61,60,59,59,//50-59
                58,58,57,57,56,55,55,55,55,54,//60-69
                54,54,54,53,53,53,53,53,53,53,//70-79
                53,52,52,52,52,52,52,52,52,52,//80-89
                52,52,52,52,52,52,52,52,52,52,//90-99
                52,52,52,52,52,52,52,53,53,53,//100-109
                53,53,53,53,53,53,53,53,53,54,//110-119
                54,54,54,54,54,54,54,54,55,55,//120-129
                55,55,55,55,55,55,55,56,56,56,//130-139
                56,56,56,56,57,57,57,57,57,57,//140-149
                58,58,58,58,58,58,58,59,59,59,//150-159
                59,59,59,60,60,60,60,60,60,61,//160-169
                61,61,61,61,61,62,62,62,62,62,//170-179
                63,63,63,63,63,63,64,64,64,64,//180-189
                65,65,65,65,65,65,66,66,66,66,//190-199
                67,67,67,67,67,67,68,68,68,68,//200-209
                69,69,69,69,69,69,70,70,70,71,//210-219
                71,71,71,71,72,72,72,72,72,73,//220-229
                73,73,73,74,74,74,74,75,75,75,//230-239
                75,76,76,76,76,76,77,77,77,77,//240-249
                78,78,78,78,78,79,79,79,80,80,//250-259
                80,80,81,81,81,81,82,82,82,82,//260-269
                83,83,83,83,84,84,84,84,85,85,//270-279
                85,85,86,86,86,86,87,87,87,88,//280-289
                88,88,88,89,89,89,89,90,90,90,//290-299
                90,91,91,91,92,92,92,92,93,93,//300-309
                93,93,94,94,94,95,95,95,95,96,//310-319
                96,96,97,97,97,97,98,98,98,99,//320-329
                99,99,99,100,100,100,101,101,101,102,//330-339
                102,102,102,103,103,103,104,104,104,104,//340-349
                105,105,105,106,106,106,107,107,107,108,//350-359
                108,108,108,109,109,109,110,110,110,111,//360-369
                111,111,111,112,112,112,113,113,113,114,//370-379
                114,114,115,115,115,116,116,116,116,117,//380-389
                117,117,118,118,118,119,119,119,120,120,//390-399
                120,121,121,121,122,122,122,123,123,123,//400-409
                124,124,124,125,125,125,126,126,126,127,//410-419
                127,127,128,128,128,129,129,129,130,130,//420-429
                130,131,131,131,132,132,132,133,133,133,//430-439
                134,134,134,135,135,135,136,136,137,137,//440-449
                137,138,138,138,139,139,139,140,140,140,//450-459
                141,141,141,142,142,143,143,143,144,144,//460-469
                144,145,145,145,146,146,146,147,147,148,//470-479
                148,148,149,149,149,150,150,150,151,151,//480-489
                152,152,152,153,153,153,154,154,154,155,//490-499
                155,156,156,156,157,157,158,158,158,159,//500-509
                159,159,160,160,161,161,161,162,162,162,//510-519
                163,163,164,164,164,165,165,166,166,166,//520-529
                167,167,167,168,168,169,169,169,170,170,//530-539
                171,171,171,172,172,173,173,173,174,174,//540-549
                175,175,175,176,176,177,177,177,178,178,//550-559
                179,179,179,180,180,181,181,181,182,182,//560-569
                183,183,183,184,184,185,185,186,186,186,//570-579
                187,187,188,188,188,189,189,190,190,191,//580-589
                191,191,192,192,193,193,193,194,194,195,//590-599
                195,196,196,196,197,197,198,198,199,199,//600-609
                199,200,200,201,201,202,202,202,203,203,//610-619
                204,204,205,205,206,206,206,207,207,208,//620-629
                208,209,209,210,210,210,211,211,212,212,//630-639
                213,213,214,214,215,215,215,216,216,217,//640-649
                217,218,218,219,219,220,220,220,221,221,//650-659
                222,222,223,223,224,224,225,225,226,226,//660-669
                227,227,227,228,228,229,229,230,230,231,//670-679
                231,232,232,233,233,234,234,235,235,236,//680-689
                236,237,237,238,238,239,239,240,240,241,//690-699
                241,242,242,243,243,244,244,245,245,246,//700-709
                246,247,247,248,248,249,249,250,250,251,//710-719
                251,252,252,253,253,254,254,255,255,256,//720-729
                256,257,257,258,258,259,259,260,261,261,//730-739
                262,262,263,263,264,264,265,265,266,266,//740-749
                267,267,268,269,269,270,270,271,271,272,//750-759
                272,273,274,274,275,275,276,276,277,277,//760-769
                278,279,279,280,280,281,281,282,283,283,//770-779
                284,284,285,286,286,287,287,288,288,289,//780-789
                290,290,291,291,292,293,293,294,294,295,//790-799
                296,296,297,297,298,299,299,300,301,301,//800-809
                302,302,303,304,304,305,305,306,307,307,//810-819
                308,309,309,310,310,311,312,312,313,313,//820-829
                314,315,315,316,317,317,318,318,319,320,//830-839
                320,321,321,322,323,323,324,325,325,326,//840-849
                326,327,328,328,329,330,330,331,332,332,//850-859
                333,333,334,335,335,336,337,337,338,339,//860-869
                339,340,340,341,341,343,343,344,344,345,//870-879
                345,346,347,347,348,349,349,350,351,351,//880-889
                352,352,353,354,355,355,356,356,357,358,//890-899
                359,359,360,360,361,362,362,363,363,364,//900-909
                365,366,366,367,367,368,369,370,370,371,//910-919
                371,372,373,374,374,375,375,377,377,378,//920-929
                378,379,379,381,381,382,382,383,384,385,//930-939
                385,386,386,387,388,389,389,390,390,392,//940-949
                392,393,393,394,394,396,396,397,397,398,//950-959
                399,400,400,401,401,402,403,404,404,405,//960-969
                405,407,407,408,408,409,410,411,411,412,//970-979
                412,413,414,415,415,416,416,418,419,419,//980-989
                419,420,422,422,423,423,424,425,426,426//990-999
            };
#endregion

		#region Strength9
		private static readonly int[] PlayerRadius9 = new[]
            {
                1,1,1,1,1,1,1,1,1,1,//0-9
                1,1,1,1,1,1,1,1,1,1,//10-19
                1,1,1,1,1,1,1,1,1,1,//20-29
                1,1,1,1,1,1,1,317,237,191,//30-39
                161,140,125,112,102,94,87,81,77,74,//40-49
                72,70,68,66,64,63,62,62,61,60,//50-59
                59,58,58,57,57,57,56,56,55,55,//60-69
                55,55,55,55,54,54,54,54,54,54,//70-79
                54,54,54,54,54,53,53,53,53,53,//80-89
                54,54,54,54,53,53,54,54,54,54,//90-99
                54,54,54,54,54,54,54,55,55,55,//100-109
                55,55,55,55,55,55,56,56,56,56,//110-119
                56,56,56,56,57,57,57,57,57,57,//120-129
                57,57,58,58,58,58,58,59,59,59,//130-139
                59,59,59,60,60,60,60,60,60,61,//140-149
                61,61,61,62,62,62,62,62,62,63,//150-159
                63,63,63,63,64,64,64,64,64,65,//160-169
                65,65,65,66,66,66,66,66,67,67,//170-179
                67,67,68,68,68,68,68,69,69,69,//180-189
                69,70,70,70,70,71,71,71,71,72,//190-199
                72,72,72,73,73,73,73,74,74,74,//200-209
                74,75,75,75,75,76,76,76,76,77,//210-219
                77,77,78,78,78,78,79,79,79,79,//220-229
                80,80,80,81,81,81,81,82,82,82,//230-239
                83,83,83,83,84,84,84,85,85,85,//240-249
                85,86,86,86,87,87,87,87,88,88,//250-259
                88,89,89,89,90,90,90,90,91,91,//260-269
                91,92,92,92,93,93,93,93,94,94,//270-279
                94,95,95,95,96,96,96,97,97,97,//280-289
                98,98,98,99,99,99,100,100,100,101,//290-299
                101,101,102,102,102,103,103,103,103,104,//300-309
                104,105,105,105,106,106,106,107,107,107,//310-319
                108,108,108,109,109,109,110,110,110,111,//320-329
                111,111,112,112,112,113,113,113,114,114,//330-339
                115,115,115,116,116,116,117,117,117,118,//340-349
                118,118,119,119,120,120,120,121,121,121,//350-359
                122,122,123,123,123,124,124,124,125,125,//360-369
                126,126,126,127,127,127,128,128,129,129,//370-379
                129,130,130,130,131,131,132,132,132,133,//380-389
                133,134,134,134,135,135,135,136,136,137,//390-399
                137,137,138,138,139,139,139,140,140,141,//400-409
                141,141,142,142,143,143,143,144,144,145,//410-419
                145,145,146,146,147,147,147,148,148,149,//420-429
                149,150,150,150,151,151,152,152,152,153,//430-439
                153,154,154,155,155,155,156,156,157,157,//440-449
                158,158,158,159,159,160,160,161,161,161,//450-459
                162,162,163,163,164,164,164,165,165,166,//460-469
                166,167,167,167,168,168,169,169,170,170,//470-479
                171,171,171,172,172,173,173,174,174,175,//480-489
                175,176,176,176,177,177,178,178,179,179,//490-499
                180,180,181,181,182,182,182,183,183,184,//500-509
                184,185,185,186,186,187,187,188,188,189,//510-519
                189,190,190,190,191,191,192,192,193,193,//520-529
                194,194,195,195,196,196,197,197,198,198,//530-539
                199,199,200,200,201,201,202,202,203,203,//540-549
                204,204,205,205,206,206,207,207,208,208,//550-559
                209,209,210,210,211,211,212,212,213,213,//560-569
                214,214,215,215,216,216,217,218,218,219,//570-579
                219,220,220,221,221,222,222,223,223,224,//580-589
                224,225,226,226,227,227,228,228,229,229,//590-599
                230,230,231,232,232,233,233,234,234,235,//600-609
                235,236,237,237,238,238,239,239,240,241,//610-619
                241,242,242,243,243,244,245,245,246,246,//620-629
                247,248,248,249,249,250,250,251,252,252,//630-639
                253,253,254,255,255,256,257,257,258,258,//640-649
                259,260,260,261,261,262,263,263,264,265,//650-659
                265,266,266,267,268,268,269,270,270,271,//660-669
                272,272,273,274,274,275,276,276,277,278,//670-679
                278,279,279,280,281,281,282,283,283,284,//680-689
                285,285,286,287,287,288,288,289,290,291,//690-699
                291,292,292,293,294,295,295,296,296,297,//700-709
                298,299,299,300,301,301,302,302,303,304,//710-719
                305,305,306,306,307,308,309,309,310,311,//720-729
                311,312,313,313,314,315,315,316,317,317,//730-739
                318,319,319,320,321,321,322,323,323,324,//740-749
                325,326,326,327,327,329,329,330,330,331,//750-759
                332,333,333,334,334,335,336,337,337,338,//760-769
                338,340,340,341,341,342,342,344,344,345,//770-779
                345,346,347,348,349,349,350,350,352,352,//780-789
                353,353,354,355,356,356,357,357,359,359,//790-799
                360,361,361,362,363,364,364,365,365,367,//800-809
                367,368,368,369,371,371,372,372,373,374,//810-819
                375,375,376,376,378,378,379,379,380,380,//820-829
                382,383,383,384,384,386,386,387,387,388,//830-839
                390,390,391,391,392,394,394,395,395,395,//840-849
                397,398,398,399,399,401,402,402,403,404,//850-859
                405,405,406,406,408,409,409,410,410,412,//860-869
                413,413,414,414,416,417,417,417,418,420,//870-879
                420,421,421,423,424,424,425,425,427,428,//880-889
                428,429,429,431,432,432,433,435,435,436,//890-899
                436,436,439,439,440,440,440,443,443,443,//900-909
                444,446,447,447,447,448,450,451,451,451,//910-919
                454,454,455,455,455,458,458,459,459,461,//920-929
                462,462,463,465,465,466,466,467,469,469,//930-939
                470,470,472,473,473,474,476,477,477,477,//940-949
                478,480,481,481,481,484,484,485,485,488,//950-959
                488,488,489,491,492,492,492,495,495,496,//960-969
                496,497,499,499,500,500,503,503,504,504,//970-979
                507,507,507,508,510,511,511,512,514,514,//980-989
                515,515,518,518,519,519,522,522,522,523//990-999
            };
		#endregion

		#region Strength8
		private static readonly int[] PlayerRadius8 = new[]
            {
                1,1,1,1,1,1,1,1,1,1,//0-9
                1,1,1,1,1,1,1,1,1,1,//10-19
                1,1,1,1,1,1,1,1,1,1,//20-29
                1,1,1,1,1,1,1,1,338,240,//30-39
                188,156,134,118,105,94,87,83,79,76,//40-49
                73,70,69,67,66,65,64,62,62,61,//50-59
                61,60,59,59,58,58,58,58,57,57,//60-69
                57,56,56,56,56,56,56,56,55,55,//70-79
                55,56,56,55,55,55,55,55,56,56,//80-89
                56,56,56,56,56,56,56,56,56,56,//90-99
                56,56,57,57,57,57,57,57,57,57,//100-109
                58,58,58,58,58,58,59,59,59,59,//110-119
                59,60,60,60,60,60,60,61,61,61,//120-129
                61,61,61,62,62,62,62,63,63,63,//130-139
                63,63,64,64,64,64,65,65,65,65,//140-149
                66,66,66,66,67,67,67,67,68,68,//150-159
                68,68,69,69,69,69,70,70,70,70,//160-169
                71,71,71,72,72,72,72,73,73,73,//170-179
                73,74,74,74,75,75,75,75,76,76,//180-189
                76,77,77,77,78,78,78,79,79,79,//190-199
                79,80,80,80,81,81,81,82,82,82,//200-209
                83,83,83,84,84,84,84,85,85,85,//210-219
                86,86,86,87,87,88,88,88,88,89,//220-229
                89,90,90,90,91,91,91,92,92,92,//230-239
                93,93,93,94,94,94,95,95,95,96,//240-249
                96,97,97,97,98,98,98,99,99,100,//250-259
                100,100,101,101,101,102,102,103,103,103,//260-269
                104,104,104,105,105,106,106,106,107,107,//270-279
                108,108,108,109,109,109,110,110,111,111,//280-289
                111,112,112,113,113,113,114,114,115,115,//290-299
                116,116,116,117,117,118,118,118,119,119,//300-309
                120,120,120,121,121,122,122,123,123,123,//310-319
                124,124,125,125,126,126,126,127,127,128,//320-329
                128,129,129,129,130,130,131,131,132,132,//330-339
                133,133,133,134,134,135,135,136,136,137,//340-349
                137,138,138,138,139,139,140,140,141,141,//350-359
                142,142,143,143,144,144,144,145,145,146,//360-369
                146,147,147,148,148,149,149,150,150,151,//370-379
                151,152,152,153,153,154,154,154,155,155,//380-389
                156,156,157,157,158,158,159,159,160,160,//390-399
                161,161,162,162,163,163,164,164,165,165,//400-409
                166,166,167,167,168,168,169,170,170,171,//410-419
                171,172,172,173,173,174,174,175,175,176,//420-429
                176,177,177,178,178,179,180,180,181,181,//430-439
                182,182,183,183,184,184,185,185,186,187,//440-449
                187,188,188,189,189,190,190,191,192,192,//450-459
                193,193,194,194,195,196,196,197,197,198,//460-469
                198,199,200,200,201,201,202,203,203,204,//470-479
                204,205,205,206,207,207,208,208,209,210,//480-489
                210,211,211,212,213,213,214,215,215,216,//490-499
                216,217,218,218,219,219,220,221,221,222,//500-509
                223,223,224,225,225,226,227,227,228,228,//510-519
                229,230,230,231,232,232,233,234,234,235,//520-529
                236,236,237,238,238,239,240,241,241,242,//530-539
                243,243,244,245,245,246,247,248,248,249,//540-549
                250,250,251,252,252,253,254,254,255,256,//550-559
                257,257,258,259,260,260,261,262,262,263,//560-569
                264,264,265,266,266,267,268,269,269,270,//570-579
                271,272,272,273,274,274,275,276,277,277,//580-589
                278,279,280,280,281,282,282,283,284,285,//590-599
                285,286,286,288,288,289,290,290,291,292,//600-609
                293,293,294,294,296,296,297,298,298,300,//610-619
                300,301,301,302,303,304,305,305,306,306,//620-629
                308,308,309,309,310,311,312,313,313,314,//630-639
                315,316,316,317,318,318,320,320,321,321,//640-649
                322,324,324,325,325,326,327,328,329,329,//650-659
                330,331,332,332,333,334,335,336,336,337,//660-669
                337,339,340,340,341,341,343,344,344,345,//670-679
                345,347,347,348,349,349,351,351,352,353,//680-689
                353,355,355,356,356,358,359,359,360,360,//690-699
                362,363,363,364,364,366,367,367,368,368,//700-709
                370,371,371,372,374,374,375,375,376,378,//710-719
                378,379,379,380,382,382,383,383,385,386,//720-729
                387,387,388,390,390,391,391,393,394,394,//730-739
                395,395,397,398,398,399,401,401,402,402,//740-749
                403,405,406,406,407,409,409,410,410,411,//750-759
                413,413,414,414,417,417,418,418,420,421,//760-769
                421,422,422,425,425,425,426,428,429,429,//770-779
                430,432,432,433,433,436,436,437,437,438,//780-789
                440,441,441,441,444,444,445,445,448,448,//790-799
                449,449,451,452,452,453,455,456,456,457,//800-809
                459,460,460,461,463,464,464,464,467,467,//810-819
                468,468,471,471,472,472,475,475,476,476,//820-829
                479,479,480,480,483,483,484,486,487,487,//830-839
                487,490,491,491,491,494,495,495,495,498,//840-849
                499,499,499,502,503,503,506,506,507,507,//850-859
                510,510,511,511,514,514,515,518,518,518,//860-869
                519,522,522,522,525,526,526,527,529,530,//870-879
                530,531,534,534,534,537,538,538,539,541,//880-889
                542,542,545,546,546,546,549,550,550,553,//890-899
                554,554,557,557,558,558,561,562,562,565,//900-909
                565,566,569,569,570,570,573,574,574,577,//910-919
                577,578,581,581,582,585,585,586,586,589,//920-929
                590,590,593,593,594,597,597,598,601,601,//930-939
                602,605,605,606,609,609,610,613,613,614,//940-949
                614,617,618,618,621,622,622,626,626,626,//950-959
                630,630,630,634,634,637,638,638,642,642,//960-969
                642,646,646,646,650,650,651,654,654,655,//970-979
                658,658,659,662,663,663,667,667,670,671,//980-989
                671,675,675,675,679,679,680,683,683,687 //990-999
            };
		#endregion

		#region Strength7
		private static readonly int[] PlayerRadius7 = new[]
            {
                1,1,1,1,1,1,1,1,1,1,//0-9
                1,1,1,1,1,1,1,1,1,1,//10-19
                1,1,1,1,1,1,1,1,1,1,//20-29
                1,1,1,1,1,1,1,1,1,329,//30-39
                227,175,143,122,106,96,90,85,80,77,//40-49
                75,73,71,69,68,67,66,65,64,63,//50-59
                62,62,61,61,60,60,60,60,59,59,//60-69
                59,59,59,59,58,58,58,58,58,58,//70-79
                58,58,58,58,58,58,58,59,59,59,//80-89
                59,59,59,59,59,59,59,60,60,60,//90-99
                60,60,60,60,61,61,61,61,61,62,//100-109
                62,62,62,63,63,63,63,63,64,64,//110-119
                64,64,65,65,65,65,66,66,66,66,//120-129
                67,67,67,68,68,68,68,69,69,69,//130-139
                70,70,70,70,71,71,71,72,72,72,//140-149
                73,73,73,73,74,74,74,75,75,75,//150-159
                76,76,76,77,77,77,78,78,79,79,//160-169
                79,80,80,80,81,81,81,82,82,82,//170-179
                83,83,84,84,84,85,85,85,86,86,//180-189
                87,87,87,88,88,89,89,89,90,90,//190-199
                91,91,91,92,92,93,93,93,94,94,//200-209
                95,95,95,96,96,97,97,98,98,98,//210-219
                99,99,100,100,101,101,101,102,102,103,//220-229
                103,104,104,105,105,105,106,106,107,107,//230-239
                108,108,109,109,110,110,111,111,111,112,//240-249
                112,113,113,114,114,115,115,116,116,117,//250-259
                117,118,118,119,119,120,120,121,121,122,//260-269
                122,123,123,124,124,125,125,126,126,127,//270-279
                127,128,128,129,129,130,130,131,131,132,//280-289
                132,133,133,134,134,135,136,136,137,137,//290-299
                138,138,139,139,140,140,141,142,142,143,//300-309
                143,144,144,145,145,146,147,147,148,148,//310-319
                149,149,150,150,151,152,152,153,153,154,//320-329
                155,155,156,156,157,157,158,159,159,160,//330-339
                160,161,162,162,163,163,164,165,165,166,//340-349
                166,167,168,168,169,170,170,171,171,172,//350-359
                173,173,174,175,175,176,177,177,178,178,//360-369
                179,180,180,181,182,182,183,184,184,185,//370-379
                186,186,187,188,188,189,190,190,191,192,//380-389
                192,193,194,195,195,196,197,197,198,199,//390-399
                199,200,201,202,202,203,204,205,205,206,//400-409
                207,208,208,209,210,211,211,212,213,214,//410-419
                214,215,216,217,217,218,219,220,220,221,//420-429
                222,223,224,224,225,226,227,227,228,229,//430-439
                230,230,231,232,233,234,234,235,236,237,//440-449
                237,238,239,240,241,241,242,243,244,245,//450-459
                245,246,247,248,249,249,250,251,252,253,//460-469
                253,254,255,256,257,257,258,259,260,261,//470-479
                261,262,263,264,265,265,266,267,268,269,//480-489
                269,270,271,272,273,273,274,275,276,277,//490-499
                278,278,279,280,281,282,282,283,284,285,//500-509
                286,286,287,289,289,290,291,291,293,293,//510-519
                294,295,295,297,298,298,299,299,301,302,//520-529
                302,303,305,305,306,307,307,309,310,310,//530-539
                311,311,313,314,314,315,315,317,318,319,//540-549
                319,321,322,322,323,323,325,326,326,327,//550-559
                329,330,330,331,331,333,334,334,335,337,//560-569
                338,338,339,339,341,342,342,343,345,346,//570-579
                346,347,347,349,350,351,351,353,354,354,//580-589
                355,357,358,358,359,359,361,362,363,363,//590-599
                365,366,366,367,369,370,370,371,371,374,//600-609
                374,375,375,377,378,379,379,381,382,382,//610-619
                383,385,386,386,387,389,390,390,391,393,//620-629
                394,394,395,397,398,398,399,401,402,402,//630-639
                403,405,406,406,407,409,410,410,411,413,//640-649
                414,414,415,417,418,418,419,422,422,423,//650-659
                423,426,426,427,427,430,430,431,431,434,//660-669
                434,435,438,438,439,439,442,442,443,443,//670-679
                446,446,447,447,450,451,451,454,454,455,//680-689
                455,458,459,459,459,462,463,463,466,467,//690-699
                467,467,470,471,471,474,475,475,476,479,//700-709
                479,479,482,483,483,484,487,487,488,491,//710-719
                491,492,492,495,495,496,499,499,500,503,//720-729
                503,504,504,507,508,508,511,512,512,513,//730-739
                516,516,517,520,520,521,524,524,525,528,//740-749
                528,529,529,532,533,533,536,537,537,541,//750-759
                541,541,545,545,546,549,549,550,553,553,//760-769
                554,557,558,558,558,562,562,563,566,566,//770-779
                567,570,571,571,575,575,575,579,579,580,//780-789
                583,583,584,587,588,591,592,592,596,596,//790-799
                596,600,600,601,604,605,605,609,609,610,//800-809
                613,614,614,618,618,622,622,622,626,626,//810-819
                627,631,631,631,635,635,639,640,640,644,//820-829
                644,644,648,649,652,653,653,657,657,658,//830-839
                662,662,666,666,667,670,671,675,675,675,//840-849
                679,680,680,684,684,688,689,689,693,694,//850-859
                698,698,702,702,703,707,707,711,712,712,//860-869
                716,716,720,721,721,725,726,730,730,734,//870-879
                735,735,739,740,744,744,748,749,753,753,//880-889
                754,758,758,763,763,767,768,772,772,773 //890-899
            };
		#endregion

		#region Strength6
		private static readonly int[] PlayerRadius6 = new[]
            {
                1,1,1,1,1,1,1,1,1,1,//0-9
                1,1,1,1,1,1,1,1,1,1,//10-19
                1,1,1,1,1,1,1,1,1,1,//20-29
                1,1,1,1,1,1,1,1,1,549,//30-39
                288,198,152,123,110,101,92,88,84,80,//40-49
                78,76,74,72,70,69,69,68,67,66,//50-59
                65,65,64,64,64,63,63,63,63,63,//60-69
                62,62,62,62,62,62,62,62,62,62,//70-79
                62,62,63,63,63,63,63,63,63,63,//80-89
                64,64,64,64,64,65,65,65,65,66,//90-99
                66,66,66,67,67,67,67,68,68,68,//100-109
                69,69,69,70,70,70,71,71,71,72,//110-119
                72,72,73,73,73,74,74,74,75,75,//120-129
                75,76,76,77,77,77,78,78,79,79,//130-139
                79,80,80,81,81,82,82,82,83,83,//140-149
                84,84,85,85,85,86,86,87,87,88,//150-159
                88,89,89,90,90,91,91,92,92,93,//160-169
                93,94,94,94,95,96,96,96,97,98,//170-179
                98,99,99,100,100,101,101,102,102,103,//180-189
                103,104,104,105,105,106,107,107,108,108,//190-199
                109,109,110,110,111,112,112,113,113,114,//200-209
                115,115,116,116,117,117,118,119,119,120,//210-219
                121,121,122,122,123,124,124,125,125,126,//220-229
                127,127,128,129,129,130,131,131,132,132,//230-239
                133,134,134,135,136,136,137,138,138,139,//240-249
                140,140,141,142,143,143,144,145,145,146,//250-259
                147,147,148,149,150,150,151,152,152,153,//260-269
                154,155,155,156,157,158,158,159,160,161,//270-279
                161,162,163,164,165,165,166,167,168,168,//280-289
                169,170,171,172,173,173,174,175,176,177,//290-299
                178,178,179,180,181,182,183,184,184,185,//300-309
                186,187,188,189,190,190,191,192,193,194,//310-319
                195,196,197,198,198,199,200,201,202,203,//320-329
                204,205,206,206,207,208,209,210,211,212,//330-339
                212,214,214,215,216,217,218,219,220,220,//340-349
                222,222,223,224,225,226,227,228,228,229,//350-359
                231,231,232,233,234,235,236,237,237,239,//360-369
                240,240,241,242,244,244,245,246,246,248,//370-379
                249,250,250,252,253,253,254,255,257,257,//380-389
                258,259,260,261,262,262,263,265,266,266,//390-399
                267,269,270,270,271,272,274,274,275,276,//400-409
                278,278,279,280,282,282,283,283,284,286,//410-419
                287,287,288,290,291,292,292,294,295,296,//420-429
                296,297,299,300,300,301,303,304,304,305,//430-439
                307,308,308,309,311,312,313,313,315,316,//440-449
                317,317,320,320,321,321,324,324,325,326,//450-459
                326,329,329,330,330,333,333,334,335,337,//460-469
                338,338,339,341,342,342,345,346,346,347,//470-479
                349,350,350,351,354,354,355,355,358,358,//480-489
                359,360,362,363,363,364,367,367,368,368,//490-499
                371,371,372,375,375,376,376,379,380,380,//500-509
                381,384,384,385,388,388,389,389,392,393,//510-519
                393,394,396,397,398,400,401,402,402,405,//520-529
                406,406,409,410,410,411,414,414,415,418,//530-539
                418,419,419,422,423,423,426,427,427,428,//540-549
                431,431,432,435,436,436,437,440,440,441,//550-559
                444,444,445,448,449,449,450,453,453,454,//560-569
                457,458,458,461,462,462,466,466,467,467,//570-579
                471,471,471,475,475,476,479,480,480,484,//580-589
                484,485,488,488,489,492,493,493,497,497,//590-599
                498,498,502,502,503,506,507,507,511,511,//600-609
                512,515,516,516,520,520,521,524,525,525,//610-619
                529,529,533,534,534,538,538,539,542,543,//620-629
                543,547,548,548,552,552,553,557,557,557,//630-639
                561,562,566,566,566,570,571,571,575,576,//640-649
                576,580,580,584,585,585,589,590,590,594,//650-659
                595,599,599,600,604,604,604,609,609,613,//660-669
                614,614,618,619,623,623,624,628,628,633,//670-679
                633,633,638,638,642,643,643,648,648,652,//680-689
                653,653,658,658,662,663,663,668,668,673,//690-699
                673,678,678,678,683,683,688,688,693,693,//700-709
                694,698,699,703,704,708,709,709,714,714,//710-719
                719,719,724,724,729,730,735,735,735,740,//720-729
                740,745,746,751,751,756,756,761,762,767,//730-739
                767,772,773,773,778,778,784,784,789,789,//740-749
                795,795,800,800,806,806,811,812,817,817,//750-759
                823,823,829,829,834,840,840,846,846,852,//760-769
                852,858,858,863,864,869,870,875,876,881,//770-779
                887,888,893,894,900,900,906,906,912,918,//780-789
                918,924,924,931,931,937,943,943,950,950 //790-799                                             
            };
		#endregion

#endregion
    }
}
